diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2017-05-18 20:14:52 +0200 |
---|---|---|
committer | Quentin Young <qlyoung@users.noreply.github.com> | 2017-05-30 16:27:10 +0200 |
commit | a772d6eae61ccb090de8dda5df43e2770879baa0 (patch) | |
tree | 36cab1088b977d7b55ebfffd27ca99cbef3da181 /lib/thread.c | |
parent | lib: allow pthreads to poke poll() (diff) | |
download | frr-a772d6eae61ccb090de8dda5df43e2770879baa0.tar.xz frr-a772d6eae61ccb090de8dda5df43e2770879baa0.zip |
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 4077358dc..0188ae6c0 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); |