|
ThreadSchedule 2.0.0
Modern C++ thread management library
|
#include <thread_pool.hpp>
Public Member Functions | |
| WorkStealingDeque (size_t capacity=DEFAULT_CAPACITY) | |
| auto | push (T &&item) -> bool |
| auto | push (T const &item) -> bool |
| auto | pop (T &item) -> bool |
| auto | steal (T &item) -> bool |
| auto | size () const -> size_t |
| auto | empty () const -> bool |
| void | clear () |
Static Public Attributes | |
| static constexpr size_t | CACHE_LINE_SIZE = 64 |
| static constexpr size_t | DEFAULT_CAPACITY = 1024 |
Definition at line 327 of file thread_pool.hpp.
|
inlineexplicit |
Definition at line 354 of file thread_pool.hpp.
References DEFAULT_CAPACITY.
|
inline |
Definition at line 436 of file thread_pool.hpp.
|
inlinenodiscard |
Definition at line 431 of file thread_pool.hpp.
References size().
|
inlinenodiscard |
Definition at line 391 of file thread_pool.hpp.
|
inlinenodiscard |
Definition at line 359 of file thread_pool.hpp.
|
inlinenodiscard |
Definition at line 375 of file thread_pool.hpp.
|
inlinenodiscard |
Definition at line 424 of file thread_pool.hpp.
Referenced by empty().
|
inlinenodiscard |
Definition at line 408 of file thread_pool.hpp.
|
staticconstexpr |
Definition at line 330 of file thread_pool.hpp.
|
staticconstexpr |
Definition at line 331 of file thread_pool.hpp.
Referenced by threadschedule::HighPerformancePool::HighPerformancePool(), and WorkStealingDeque().