共用方式為


mutex::mutex Constructor (STL)

Constructs a mutex object that is not locked.

constexpr mutex() _NOEXCEPT;

Requirements

Header: mutex

Namespace: std

See Also

Reference

<mutex>

mutex Class (STL)

Other Resources

C++ Standard Library Header Files