hpx/schedulers/lockfree_queue_backends.hpp¶
See Public API for a list of names and headers that are part of the public HPX API.
-
namespace
hpx
-
namespace
threads
-
namespace
policies
-
struct
concurrentqueue_fifo
¶
-
struct
lockfree_fifo
¶
-
template<typename
T
>
structlockfree_fifo_backend
¶ Public Types
-
template<>
usingvalue_type
= T¶
-
template<>
usingreference
= T&¶
-
template<>
usingconst_reference
= T const&¶
-
template<>
usingrvalue_reference
= T&&¶
Public Functions
-
lockfree_fifo_backend
(size_type initial_size = 0, size_type = size_type(-1))¶
-
bool
push
(const_reference val, bool = false)¶
-
bool
push
(rvalue_reference val, bool = false)¶
-
bool
pop
(reference val, bool = true)¶
-
bool
empty
()¶
Private Members
-
container_type
queue_
¶
-
template<>
-
template<typename
T
>
structmoodycamel_fifo_backend
¶ Public Types
-
template<>
usingcontainer_type
= hpx::concurrency::ConcurrentQueue<T>¶
-
template<>
usingvalue_type
= T¶
-
template<>
usingreference
= T&¶
-
template<>
usingconst_reference
= T const&¶
-
template<>
usingrvalue_reference
= T&&¶
Public Functions
-
moodycamel_fifo_backend
(size_type initial_size = 0, size_type = size_type(-1))¶
-
bool
push
(const_reference val, bool = false)¶
-
bool
push
(rvalue_reference val, bool = false)¶
-
bool
pop
(reference val, bool = true)¶
-
bool
empty
()¶
Private Members
-
container_type
queue_
¶
-
template<>
-
struct
-
namespace
-
namespace