4 #include "linux_buffer/lockfree_rb_q.cc"
10 :
buff_(new LockFreeQueue<T>(num_threads, num_threads, capacity)) {}
13 return "Linux Buffer";
34 LockFreeQueue<T> *
buff_;
37 #endif // LINUX_API_H_
void detach_thread()
Definition: linux_API.h:29
LockFreeQueue< T > * buff_
Definition: linux_API.h:31
TestClass(size_t capacity, size_t num_threads)
Definition: linux_API.h:9
bool dequeue(T &val)
Definition: linux_API.h:20
void attach_thread()
Definition: linux_API.h:25
Definition: blank_api.h:31
bool enqueue(T value)
Definition: linux_API.h:15
char * name()
Definition: linux_API.h:12