16 #ifndef FOXXLL_IO_REQUEST_QUEUE_IMPL_QWQR_HEADER 17 #define FOXXLL_IO_REQUEST_QUEUE_IMPL_QWQR_HEADER 36 constexpr
static bool debug =
false;
53 static void *
worker(
void* arg);
73 #endif // !FOXXLL_IO_REQUEST_QUEUE_IMPL_QWQR_HEADER
static constexpr bool debug
A simple semaphore implementation using C++11 synchronization methods.
static void * worker(void *arg)
void add_request(request_ptr &req) final
void set_priority_op(const priority_op &op) final
static const priority_op priority_op_
High-performance smart pointer used as a wrapping reference counting pointer.
bool cancel_request(request_ptr &req) final
~request_queue_impl_qwqr()
shared_state< thread_state > thread_state_
std::list< request_ptr > queue_type
request_queue_impl_qwqr(int n=1)