From 093709e8ec7fe6201aa4e13d64e53ccc44a54f35 Mon Sep 17 00:00:00 2001 From: Gentoo Date: Sun, 28 Aug 2022 03:36:41 +1000 Subject: clarified license --- main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.c b/main.c index 1b6b093..054d6e3 100644 --- a/main.c +++ b/main.c @@ -1,3 +1,4 @@ +/* License: Public Domain */ #include #include #include @@ -12,7 +13,7 @@ int counter; 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 + usleep((*p)*500);// *200 will do, but *500 is needed to reliably attain a correct order for numbers only 1 apart pthread_mutex_lock(&lock); result[counter++] = *p; -- cgit v1.2.3