mirror of
https://github.com/boostorg/thread.git
synced 2026-01-26 19:12:11 +00:00
Merge branch 'develop'
This commit is contained in:
@@ -320,7 +320,9 @@ namespace boost
|
||||
{
|
||||
if (closed(lk)) return queue_op_status::closed;
|
||||
}
|
||||
wait_until_not_empty(lk);
|
||||
bool has_been_closed = false;
|
||||
wait_until_not_empty(lk, has_been_closed);
|
||||
if (has_been_closed) return queue_op_status::closed;
|
||||
pull_front(elem, lk);
|
||||
return queue_op_status::success;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user