aboutsummaryrefslogtreecommitdiff
path: root/zencore/thread.cpp
diff options
context:
space:
mode:
authorMartin Ridgers <[email protected]>2021-11-26 11:30:34 +0100
committerMartin Ridgers <[email protected]>2021-11-26 12:33:26 +0100
commita0b68b6e0c3bdb91eaea80beaef328068c32c5f8 (patch)
treef41771bceb0b2d8dccca2ebdd3e259bc04c3d6ee /zencore/thread.cpp
parentSponsor PIDs were getting truncated to 16 bits which isn't portable (diff)
downloadzen-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