16 #ifndef STXXL_IO_REQUEST_QUEUE_IMPL_WORKER_HEADER
17 #define STXXL_IO_REQUEST_QUEUE_IMPL_WORKER_HEADER
23 #elif STXXL_BOOST_THREADS
24 #include <boost/thread/thread.hpp>
25 #elif STXXL_POSIX_THREADS
28 #error "Thread implementation not detected."
46 enum thread_state { NOT_RUNNING, RUNNING, TERMINATING, TERMINATED };
49 typedef std::thread* thread_type;
50 #elif STXXL_BOOST_THREADS
51 typedef boost::thread* thread_type;
65 #endif // !STXXL_IO_REQUEST_QUEUE_IMPL_WORKER_HEADER
Interface of a request_queue to which requests can be added and canceled.
Implementation of request queue worker threads. Worker threads can be started by start_thread and sto...
#define STXXL_BEGIN_NAMESPACE
#define STXXL_END_NAMESPACE