20 template<
typename ELEMENTTYPE>
44 _return = _values.back();
53 _values.push_back(ele);
Buffer()
Definition: Buffer.hpp:29
void push(ELEMENTTYPE ele)
Definition: Buffer.hpp:50
Definition: Semaphore.hpp:6
ELEMENTTYPE pop()
Definition: Buffer.hpp:39
Semaphore * _filled
Definition: Buffer.hpp:25
mutex _mu
Definition: Buffer.hpp:26
virtual ~Buffer()
Definition: Buffer.hpp:34
Definition: Buffer.hpp:21
void V()
Definition: Semaphore.hpp:15
void P()
Definition: Semaphore.hpp:20
deque< ELEMENTTYPE > _values
Definition: Buffer.hpp:24