mirror of
https://github.com/boostorg/thread.git
synced 2026-01-19 16:52:12 +00:00
* Used the predicate version of condition_variable::wait_until() which correctly handles time jump events. * Fixed an issue with sync_timed_queue::pull_until()/pull_for() where they could incorrectly return queue_op_status::timeout instead of queue_op_status::success. * Changed sync_timed_queue::wait_pull() to return queue_op_status::success instead of queue_op_status::closed when the queue has been closed but an item is available and is ready to be pulled off the queue. * Changed sync_priority_queue::pull_until()/pull_for() and sync_timed_queue::pull_until()/pull_for() to return queue_op_status::closed instead of throwing an exception when the queue is closed since they have a queue_op_status return type.
7.3 KiB
7.3 KiB