hpx/synchronization/lock_types.hpp¶
See Public API for a list of names and headers that are part of the public HPX API.
-
namespace
hpx
-
-
template<typename
Mutex
>
classupgrade_lock
¶ Public Types
-
template<>
usingmutex_type
= Mutex¶
Public Functions
-
upgrade_lock
(upgrade_lock const&)¶
-
upgrade_lock &
operator=
(upgrade_lock const&)¶
-
upgrade_lock
()¶
-
upgrade_lock
(Mutex &m_)¶
-
upgrade_lock
(upgrade_lock<Mutex> &&other)¶
-
upgrade_lock &
operator=
(upgrade_lock<Mutex> &&other)¶
-
void
swap
(upgrade_lock &other)¶
-
Mutex *
mutex
() const¶
-
Mutex *
release
()¶
-
~upgrade_lock
()¶
-
void
lock
()¶
-
bool
try_lock
()¶
-
void
unlock
()¶
-
operator bool
() const¶
-
bool
owns_lock
() const¶
Friends
-
friend
hpx::upgrade_to_unique_lock
-
template<>
-
template<typename
Mutex
>
classupgrade_to_unique_lock
¶ Public Types
-
template<>
usingmutex_type
= Mutex¶
Public Functions
-
upgrade_to_unique_lock
(upgrade_to_unique_lock const&)¶
-
upgrade_to_unique_lock &
operator=
(upgrade_to_unique_lock const&)¶
-
upgrade_to_unique_lock
(upgrade_lock<Mutex> &m_)¶
-
~upgrade_to_unique_lock
()¶
-
upgrade_to_unique_lock
(upgrade_to_unique_lock<Mutex> &&other)¶
-
upgrade_to_unique_lock &
operator=
(upgrade_to_unique_lock<Mutex> &&other)¶
-
void
swap
(upgrade_to_unique_lock &other)¶
-
operator bool
() const¶
-
bool
owns_lock
() const¶
-
Mutex *
mutex
() const¶
-
template<>
-
template<typename