|
noexcept |
Closes a mutex and releases any used resources.
[in] | mtx | A pointer to a mutex to be closed. |
The destroyed mutex must not been owned by any thread. The function behaviour over locked mutexes is undefined.
The function implements a behaviour of the mtx_destroy function defined in the ISO/IEC 9899:2011 (aka C11) standard.