timed_mutex::lock Method
Blocks the calling thread until the thread obtains ownership of the mutex.
void lock();
Remarks
If the calling thread already owns the mutex, the behavior is undefined.
Requirements
Header: mutex
Namespace: std
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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