]> Nishi Git Mirror - gwion.git/commitdiff
:art: Remove pthread_yield
authorJérémie Astor <astor.jeremie@wanadoo.fr>
Thu, 5 Dec 2019 19:36:13 +0000 (20:36 +0100)
committerJérémie Astor <astor.jeremie@wanadoo.fr>
Thu, 5 Dec 2019 19:36:13 +0000 (20:36 +0100)
src/lib/shred.c

index 95db9001bbedd69966c021cab9e6f0a94dabcd57..f6d2ca0ba1dcbb29e02022b281eae9858aeac01d 100644 (file)
@@ -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) {