Appendices > Portable Thread Library > Condition Variables > Creating a Condition Variable
 
Creating a Condition Variable
When creating a condition variable, the application can provide an unsafe mutex to protect that condition variable. If the mutex is provided to the constructor of the condition variable, then it is considered a private mutex and it is the responsibility of the application to lock and unlock the mutex before accessing the wait and broadcast member functions.

Version 5.8
Copyright © 2014, Rogue Wave Software, Inc. All Rights Reserved.