daft-engineers / vocoder

Open source vocoder designed for the Raspberry Pi.
https://daft-engineers.github.io/vocoder/
Mozilla Public License 2.0
9 stars 0 forks source link

Sort wait timeouts #86

Closed bear-in-the-air closed 1 year ago

bear-in-the-air commented 1 year ago

Currently the testing will fail approx once in 10k runs. It has been traced back to a timeout issue as the timeout is set as 1ms but the timeslice in linux is 10ms so it's possible for some code to get stuck while waiting for another slice. The length of this timeout is non critical as it's only used in shutting down threads, so it can safely be extended.

Success criteria