| 25 | #include "../readerwritercircularbuffer.h" // Mine |
| 26 | template<typename T> |
| 27 | class BlockingReaderWriterCircularBufferAdapter : public moodycamel::BlockingReaderWriterCircularBuffer<T> { |
| 28 | public: |
| 29 | BlockingReaderWriterCircularBufferAdapter(std::size_t capacity) : moodycamel::BlockingReaderWriterCircularBuffer<T>(capacity) { } |
| 30 | void enqueue(T const& x) { this->wait_enqueue(x); } |
| 31 | }; |
| 32 | #endif |
| 33 | #include "systemtime.h" |
| 34 | #include "../tests/common/simplethread.h" |
nothing calls this directly
no outgoing calls
no test coverage detected