14 #ifndef STXXL_IO_LINUXAIO_QUEUE_HEADER
15 #define STXXL_IO_LINUXAIO_QUEUE_HEADER
19 #if STXXL_HAVE_LINUXAIO_FILE
21 #include <linux/aio_abi.h>
72 static void * post_async(
void* arg);
73 static void * wait_async(
void* arg);
75 void handle_events(io_event* events,
long num_events,
bool canceled);
97 #endif // #if STXXL_HAVE_LINUXAIO_FILE
99 #endif // !STXXL_IO_LINUXAIO_QUEUE_HEADER
std::list< request_ptr > queue_type
storing linuxaio_request* would drop ownership
High-performance smart pointer used as a wrapping reference counting pointer.
Implementation of request queue worker threads. Worker threads can be started by start_thread and sto...
int max_events
max number of OS requests
aio_context_t context
OS context.
#define STXXL_BEGIN_NAMESPACE
queue_type waiting_requests
state< thread_state > wait_thread_state
aio_context_t get_io_context()
semaphore num_waiting_requests
number of requests in waitings_requests
Request for an linuxaio_file.
Queue for linuxaio_file(s)
#define STXXL_END_NAMESPACE