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