From: Laurent MAZET Date: Wed, 5 Nov 2025 10:08:03 +0000 (+0100) Subject: wait last result before exit X-Git-Tag: v1.1~3 X-Git-Url: https://secure.softndesign.org/git/?a=commitdiff_plain;h=a8352aefbe2f7760bbbda021ef12e64ff025d6b2;p=benchmarks.git wait last result before exit --- diff --git a/mutex.c b/mutex.c index a804a1f..ef41367 100644 --- a/mutex.c +++ b/mutex.c @@ -65,6 +65,8 @@ void *ping (__attribute__((unused)) void *arg) pthread_mutex_unlock (&test); } + usleep (TIMER); + RETURN (current_mode, 0); }