mtx_destroy

mtx_destroy

Defined in header <threads.h>
void mtx_destroy( mtx_t *mutex );
(since C11)

Destroys the mutex pointed to by mutex.

If there are threads waiting on mutex, the behavior is undefined.

Parameters

mutex - pointer to the mutex to destroy

Return value

(none).

References

  • C11 standard (ISO/IEC 9899:2011):
    • 7.26.4.1 The mtx_destroy function (p: 380)

See also

C++ documentation for ~recursive_timed_mutex

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/c/thread/mtx_destroy

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部