diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2017-05-18 18:14:52 +0000 |
|---|---|---|
| committer | Quentin Young <qlyoung@users.noreply.github.com> | 2017-05-30 10:27:10 -0400 |
| commit | a772d6eae61ccb090de8dda5df43e2770879baa0 (patch) | |
| tree | 36cab1088b977d7b55ebfffd27ca99cbef3da181 /lib/thread.c | |
| parent | 3bf2673b3094727edee168f4b5a93095420f6b23 (diff) | |
lib: missed AWAKEN in r/w thread scheduler
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/thread.c')
| -rw-r--r-- | lib/thread.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |
