This topic has not yet been rated - Rate this topic

mutex::lock Method (STL)

Blocks the calling thread until the thread obtains ownership of the mutex.

void lock();

If the calling thread already owns the mutex, the behavior is undefined.

Header: mutex

Namespace: std

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.