diff options
| author | Martin Ridgers <[email protected]> | 2021-11-26 11:30:34 +0100 |
|---|---|---|
| committer | Martin Ridgers <[email protected]> | 2021-11-26 12:53:45 +0100 |
| commit | 07ab63559a07e50cb2221be0a9460b9f4097b787 (patch) | |
| tree | 37995e298648368462fd00b963a0b250937b27ae /zenhttp/httpserver.cpp | |
| parent | Added .gdb_history to .gitignore (diff) | |
| download | zen-07ab63559a07e50cb2221be0a9460b9f4097b787.tar.xz zen-07ab63559a07e50cb2221be0a9460b9f4097b787.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 'zenhttp/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions