diff options
| author | Martin Ridgers <[email protected]> | 2021-11-26 11:30:34 +0100 |
|---|---|---|
| committer | Martin Ridgers <[email protected]> | 2021-11-26 12:33:26 +0100 |
| commit | a0b68b6e0c3bdb91eaea80beaef328068c32c5f8 (patch) | |
| tree | f41771bceb0b2d8dccca2ebdd3e259bc04c3d6ee /zencore/thread.cpp | |
| parent | Sponsor PIDs were getting truncated to 16 bits which isn't portable (diff) | |
| download | zen-a0b68b6e0c3bdb91eaea80beaef328068c32c5f8.tar.xz zen-a0b68b6e0c3bdb91eaea80beaef328068c32c5f8.zip | |
Wait on an event instead of using sleep()
The sleep() means it can take up to "update_interval * 2" (currently 10
seconds) to shutdown the thread. Not only is it desirable that binaries
exit cleanly as quickly as possible, units tests were taking a
considerable amount of time to run due to the sleep.
Diffstat (limited to 'zencore/thread.cpp')
0 files changed, 0 insertions, 0 deletions