scheduler and setting it with set_scheduling_algorithm(). Document
sched_algorithm interface class.
Fix the example in condition_variables.qbk to explicitly unlock 'lk'
before
calling process_data().
Add some explanatory material in scheduling.qbk about coding your own
scheduler and setting it with set_scheduling_algorithm(). Document
sched_algorithm interface class.
Fix the example in condition_variables.qbk to explicitly unlock 'lk' before
calling process_data().
Use std::size_t as argument type for barrier constructor.
Add bounded_queue::upper_bound(), lower_bound(), value_pop().
Make is_empty(), is_full() const.
Add TimePointType template param to push_wait_until(), pop_wait_until().
This reflects my improved understanding of these methods based on our mail
conversation.
Also state explicitly that you are permitted to supply your own scheduler.
Looking at the implementation, it seems that operator safe_bool() and its
companion, operator!(), interrogate whether the referenced fiber has or has
not terminated. joinable() does not.
Add more joinable() cross-references, and cross-reference joinable(), operator
safe_bool() and operator!().
Use [#named_anchor] QuickBook functionality rather than trying to predict the
normalized link for [heading Member function `thread_affinity( bool)`], which
looks like this:
fiber.fiber_mgmt.fiber.member_function__code__phrase_role__identifier__thread_affinity__phrase__phrase_role__special_____phrase___phrase_role__keyword__bool__phrase__phrase_role__special_____phrase___code_
Change certain [un]bounded_queue method signatures to return queue_op_status.
Their previous signatures didn't provide any way to report a closed queue.
For Note: interruption point, document Throws: fiber_interrupted.
Write a few more words about bounded_queue's high water mark and low water
mark.
Make condition_variable::wait_until() and wait_for() consistently use 'lk' instead of 'lt' because explanations only describe 'lk'.
Explain condition_variable::wait(), wait_until() and wait_for() Precondition.
Distinguish values returned by wait_until(), wait_for() overloads with and without predicates.
Update request for section concerning algorithm, set_scheduling_algorithm(), round_robin and round_robin_ws.
Clarify lifespan implications of fiber_group::add_fiber(). Explain requirement for a heap fiber object.
Experiment with cross-reference links to other Boost libraries.