lib: missed AWAKEN in r/w thread scheduler

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
This commit is contained in:
Quentin Young 2017-05-18 18:14:52 +00:00 committed by Quentin Young
parent 3bf2673b30
commit a772d6eae6

View File

@ -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);