recursive_timed_mutex::lock Method

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

void lock();

If the calling thread already owns the mutex, the method returns immediately, and the previous lock remains in effect.

Header: mutex

Namespace: std

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft