From a772d6eae61ccb090de8dda5df43e2770879baa0 Mon Sep 17 00:00:00 2001 From: Quentin Young Date: Thu, 18 May 2017 18:14:52 +0000 Subject: [PATCH] lib: missed AWAKEN in r/w thread scheduler Signed-off-by: Quentin Young --- lib/thread.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.39.5