15 #if STXXL_HAVE_LINUXAIO_FILE
30 disk_queues::get_instance()->add_request(req, get_queue_id());
43 disk_queues::get_instance()->add_request(req, get_queue_id());
52 if (type == request::READ)
53 aread(buffer, offset, bytes)->
wait();
55 awrite(buffer, offset, bytes)->wait();
58 const char* linuxaio_file::io_type()
const
65 #endif // #if STXXL_HAVE_LINUXAIO_FILE
Completion handler class (Loki-style).
request::size_type size_type
the size of a request
virtual void wait(bool measure_time=true)=0
Suspends calling thread until completion of the request.
#define STXXL_BEGIN_NAMESPACE
static const size_t bytes
number of bytes in uint_pair
request::offset_type offset_type
the offset of a request, also the size of the file
Request for an linuxaio_file.
#define STXXL_END_NAMESPACE