diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2015-05-15 12:40:36 -0400 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2015-05-16 17:59:23 -0400 |
commit | f50105486f3a664c3ecd2d7a5552f2767941f4d7 (patch) | |
tree | 9297f7b38a0219abe9aef0706f597a7aef4b7da5 /doc | |
parent | e47c94e64c44e817ac80cf682a68ba0c4580952f (diff) |
More robust CScheduler unit test
On a busy or slow system, the CScheduler unit test could fail because it
assumed all threads would be done after a couple of milliseconds.
Replace the hard-coded sleep with CScheduler stop() method that
will cleanly exit the servicing threads when all tasks are completely
finished.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions