summaryrefslogtreecommitdiff
path: root/lib/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/thread.c')
-rw-r--r--lib/thread.c2
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);