Share via


mutex::unlock Method (STL)

Releases ownership of the mutex.

void unlock();

Remarks

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

Requirements

Header: mutex

Namespace: std

See Also

Reference

<mutex>

mutex Class (STL)

Other Resources

Header Files