[cpp-threads] Lockable and condition_variable_any

Anthony Williams anthony at justsoftwaresolutions.co.uk
Thu Nov 11 18:06:02 GMT 2010


Suggested wording for note at the end of D3197:

"If a Lock type other than one of the standard mutex types (or a 
unique_lock wrapper for a standard mutex type) is used with 
condition_variable_any then the user must ensure that any necessary 
synchronization is in place with respect to the predicate associated 
with the condition_variable_any instance."

Anthony
-- 
Author of C++ Concurrency in Action     http://www.stdthread.co.uk/book/
just::thread C++0x thread library             http://www.stdthread.co.uk
Just Software Solutions Ltd       http://www.justsoftwaresolutions.co.uk
15 Carrallack Mews, St Just, Cornwall, TR19 7UL, UK. Company No. 5478976



More information about the cpp-threads mailing list