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
Browser ini sudah tidak didukung.
Mutakhirkan ke Microsoft Edge untuk memanfaatkan fitur, pembaruan keamanan, dan dukungan teknis terkini.
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