unique_lock::release Method
Disassociates the unique_lock object from the associated mutex object.
mutex_type *release() _NOEXCEPT;
Return Value
The previous value of the stored mutex pointer.
Remarks
This method sets the value of the stored mutex pointer to 0 and sets the internal mutex ownership flag to false.
Requirements
Header: mutex
Namespace: std