Condition variable's wait_for and wait_until method does not unlock the mutex when the thread is blocking
27 views
Skip to first unread message
张华
unread,
Nov 20, 2015, 1:34:49 AM11/20/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Native-Client-Discuss
I'm building with clang-newlib. When I tried to use condition variable's wait_until and wait_for method, I noticed that both of them don't unlock the mutex when the thread is blocked. As a result, other threads waiting for the lock can't proceed. Anyone else has met similar issue?
Ben Smith
unread,
Dec 11, 2015, 2:33:42 PM12/11/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message