mirror of
https://github.com/Pithikos/C-Thread-Pool
synced 2024-11-21 21:21:23 +03:00
Increase sleep time to 1.0 again to solve false negatives
This commit is contained in:
parent
bd7fdc0b69
commit
230dd7e643
@ -17,7 +17,7 @@ int main(int argc, char *argv[]){
|
||||
threadpool thpool = thpool_init(num_threads);
|
||||
thpool_destroy(thpool);
|
||||
|
||||
sleep(0.8); // Sometimes main exits before thpool_destroy finished 100%
|
||||
sleep(1); // Sometimes main exits before thpool_destroy finished 100%
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user