Home
last modified time | relevance | path

Searched defs:BlockingQueue (Results 1 – 1 of 1) sorted by relevance

/device/generic/goldfish/hals/camera/
DBlockingQueue.h30 template <class T> struct BlockingQueue { struct
33 bool put(T* x) { in put()
44 std::optional<T> get() { in get()
76 BlockingQueue(const BlockingQueue&) = delete; argument
78 BlockingQueue& operator=(const BlockingQueue&) = delete; argument
79 BlockingQueue& operator=(BlockingQueue&&) = delete; argument
83 std::condition_variable available;
84 bool cancelled = false;
85 std::mutex mtx;