Appendices > Portable Thread Library > Mutexes > Running a Safe Mutex in Check Mode
 
Running a Safe Mutex in Check Mode
During debugging, it can be helpful to use a safe mutex in check mode to verify that the mutex is used correctly and then switch to an unsafe mutex for performance benefits when debugging is finished. To run the safe mutex in check mode, set the first parameter of the safe mutex constructor to IlsTrue. In this case, the mutex will behave as if it is an unsafe mutex and will report any attempts to use the mutex illegally.

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