std::shared_timed_mutex:: shared_timed_mutex
From cppreference.net
<
cpp
|
thread
|
shared timed mutex
C++
Concurrency support library
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std::shared_timed_mutex
| Member functions | ||||
|
shared_timed_mutex::shared_timed_mutex
|
||||
| Exclusive locking | ||||
| Shared locking | ||||
|
shared_timed_mutex
(
)
;
|
(1) | (C++14以降) |
|
shared_timed_mutex
(
const
shared_timed_mutex
&
)
=
delete
;
|
(2) | (C++14以降) |
1)
ミューテックスを構築します。呼び出し後、ミューテックスはロック解除状態です。
2)
コピーコンストラクタは削除されています。
パラメータ
(なし)
例外
std::system_error 構築が失敗した場合。
関連項目
|
Cドキュメント
for
mtx_init
|