recursive_timed_mutex::unlock Method

Releases ownership of the mutex.

void unlock();

This method releases ownership of the mutex only after it is called as many times as lock, try_lock, try_lock_for, and try_lock_until have been called successfully on the recursive_timed_mutex object.

If the calling thread does not own the mutex, the behavior is undefined.

Header: mutex

Namespace: std

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