std::mutex::~mutex

< cpp‎ | thread‎ | mutex

~mutex();

销毁互斥体。

若互斥体被任何线程占有,或若有任何线程在保有此互斥体的任何所有权时终止,则行为未定义。

参阅