SharedTimedMutex
C++ concepts: SharedTimedMutex
The SharedTimedMutex
concept extends the TimedMutex
concept to include shared lock ownership mode.
Requirements
TimedMutex
Additionally, for object m
of SharedTimedMutex
type supports tim
ed shared operations:
- The expression
m.try_lock_shared_for(duration)
has the following properties
Library types
The following standard library types satisfy SharedTimedMutex
:
std::shared_timed_mutex
See also
- Thread support library
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.