From e3497fe03f6ec28100dbd63d10532a2581e49406 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Thu, 5 Dec 2019 20:36:13 +0100 Subject: [PATCH] :art: Remove pthread_yield --- src/lib/shred.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lib/shred.c b/src/lib/shred.c index 95db9001..f6d2ca0b 100644 --- a/src/lib/shred.c +++ b/src/lib/shred.c @@ -157,7 +157,6 @@ static void join(const M_Object o) { MUTEX_LOCK(vm->shreduler->mutex); THREAD_JOIN(FORK_THREAD(o)); MUTEX_UNLOCK(vm->shreduler->mutex); - pthread_yield(); } static DTOR(fork_dtor) { -- 2.43.0