diff --git a/lib/thread.c b/lib/thread.c index 4077358dcf..0188ae6c0b 100644 --- a/lib/thread.c +++ b/lib/thread.c @@ -738,6 +738,8 @@ funcname_thread_add_read_write (int dir, struct thread_master *m, thread->ref = t_ptr; } } + + AWAKEN (m); } pthread_mutex_unlock (&m->mtx);