From: Jérémie Astor Date: Thu, 5 Dec 2019 19:36:13 +0000 (+0100) Subject: :art: Remove pthread_yield X-Git-Tag: nightly~2070^2~4 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=e3497fe03f6ec28100dbd63d10532a2581e49406;p=gwion.git :art: Remove pthread_yield --- 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) {