hpx/coroutines/thread_id_type.hpp¶
See Public API for a list of names and headers that are part of the public HPX API.
-
template<>
structhash
<::hpx::threads::thread_id_ref>¶ Public Functions
-
std::size_t
operator()
(::hpx::threads::thread_id_ref const &v) const¶
-
std::size_t
-
namespace
hpx
-
namespace
threads
-
-
struct
thread_id
¶ Public Functions
-
thread_id
()¶
-
constexpr
thread_id
(thread_id_repr const &thrd)¶
-
constexpr thread_id &
operator=
(thread_id_repr const &rhs)¶
-
constexpr
operator bool
() const¶
-
constexpr thread_id_repr
get
() const¶
-
constexpr void
reset
()¶
Private Types
-
using
thread_id_repr
= void*¶
Private Members
-
thread_id_repr
thrd_
= nullptr¶
Friends
-
friend constexpr bool
operator==
(thread_id const &lhs, thread_id const &rhs)¶
-
friend constexpr bool
operator!=
(thread_id const &lhs, thread_id const &rhs)¶
-
friend constexpr bool
operator<
(thread_id const &lhs, thread_id const &rhs)¶
-
friend constexpr bool
operator>
(thread_id const &lhs, thread_id const &rhs)¶
-
friend constexpr bool
operator<=
(thread_id const &lhs, thread_id const &rhs)¶
-
friend constexpr bool
operator>=
(thread_id const &lhs, thread_id const &rhs)¶
-
-
struct
thread_id_ref
¶ Public Types
-
using
thread_repr
= detail::thread_data_reference_counting¶
Public Functions
-
thread_id_ref
()¶
-
thread_id_ref
(thread_id_ref const&)¶
-
thread_id_ref &
operator=
(thread_id_ref const&)¶
-
thread_id_ref
(thread_id_ref &&rhs)¶
-
thread_id_ref &
operator=
(thread_id_ref &&rhs)¶
-
thread_id_ref
(thread_id_repr const &thrd)¶
-
thread_id_ref
(thread_id_repr &&thrd)¶
-
thread_id_ref &
operator=
(thread_id_repr const &rhs)¶
-
thread_id_ref &
operator=
(thread_id_repr &&rhs)¶
-
thread_id_ref
(thread_repr *thrd, thread_id_addref addref = thread_id_addref::yes)¶
-
thread_id_ref &
operator=
(thread_repr *rhs)¶
-
thread_id_ref &
operator=
(thread_id const &noref)¶
-
thread_id_ref &
operator=
(thread_id &&noref)¶
-
operator bool
() const¶
-
thread_id_repr &
get
() &¶
-
thread_id_repr &&
get
() &&¶
-
thread_id_repr const &
get
() const &¶
-
void
reset
()¶
-
void
reset
(thread_repr *thrd, bool add_ref = true)¶
-
constexpr thread_repr *
detach
()¶
Private Members
-
thread_id_repr
thrd_
¶
Friends
-
bool
operator==
(thread_id_ref const &lhs, thread_id_ref const &rhs)¶
-
bool
operator!=
(thread_id_ref const &lhs, thread_id_ref const &rhs)¶
-
bool
operator<
(thread_id_ref const &lhs, thread_id_ref const &rhs)¶
-
bool
operator>
(thread_id_ref const &lhs, thread_id_ref const &rhs)¶
-
bool
operator<=
(thread_id_ref const &lhs, thread_id_ref const &rhs)¶
-
bool
operator>=
(thread_id_ref const &lhs, thread_id_ref const &rhs)¶
-
using
-
struct
-
namespace