From c9f3bc45666e80c054e605ba151fd6605760abe3 Mon Sep 17 00:00:00 2001 From: Gentoo Date: Thu, 27 Aug 2020 13:19:10 +1000 Subject: small fix --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 5c997e0..1b6b093 100644 --- a/main.c +++ b/main.c @@ -10,7 +10,7 @@ int result[NUM_THREADS]; pthread_mutex_t lock; int counter; -void *sleepMe(int64_t *p) +void *sleepMe(int *p) { usleep((*p)*500);//*200 will do, but *500 is needed to reliably attain a correct order for numbers only 1 apart -- cgit v1.2.3