std::shared_lock::mutex

mutex_type* mutex() const noexcept;
(C++14 起)

返回指向关联互斥的指针,或若无关联互斥则返回空指针。

参数

(无)

返回值

指向关联互斥的指针,或若无关联互斥则为空指针。

示例

版本历史

  • (当前 | 先前) 2017年8月24日 (四) 09:14Fruderica讨论 | 贡献. . (438字节) (+438). . (以“{{cpp/thread/shared_lock/title|mutex}} {{cpp/thread/shared_lock/navbar}} {{dcl begin}} {{dcl | since=c++14 | 1= mutex_type* mutex() const noexcept; }} {{dcl end}} ...”为内容创建页面)