Include unistd.h for prototype of sleep.
This commit is contained in:
parent
961d4a2eb2
commit
1a0ad47f26
|
@ -11,6 +11,7 @@
|
|||
#include <errno.h>
|
||||
#include <stdlib.h>
|
||||
#include <pthread.h>
|
||||
#include <unistd.h>
|
||||
|
||||
const int beatup_iterations = 10000;
|
||||
const int num_threads = 30;
|
||||
|
|
Loading…
Reference in New Issue