22 #include <condition_variable>
27 #include <olp/core/CoreApi.h>
44 template <
typename T,
typename Container>
80 bool Pull(T& element);
87 void Push(T&& element);
94 void Push(
const T& element);
100 mutable std::mutex mutex_;
102 std::condition_variable ready_;
109 template <
typename T>
115 #include "SyncQueue.inl"
A thread-safe container adapter.
Definition: SyncQueue.h:45
SyncQueue & operator=(const SyncQueue &)=delete
Non-copyable, non-movable.
SyncQueue(const SyncQueue &)=delete
Non-copyable, non-movable.
SyncQueue & operator=(SyncQueue &&)=delete
Non-copyable, non-movable.
SyncQueue(SyncQueue &&)=delete
Non-copyable, non-movable.
Rules all the other namespaces.
Definition: AppleSignInProperties.h:24