Stxxl  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Types | Static Private Member Functions | Private Attributes | Static Private Attributes
stxxl::request_queue_impl_qwqr Class Reference

#include <request_queue_impl_qwqr.h>

Inheritance diagram for stxxl::request_queue_impl_qwqr:
Inheritance graph
[legend]
Collaboration diagram for stxxl::request_queue_impl_qwqr:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 request_queue_impl_qwqr (int n=1)
void set_priority_op (priority_op op)
void add_request (request_ptr &req)
bool cancel_request (request_ptr &req)
 ~request_queue_impl_qwqr ()

Private Types

typedef request_queue_impl_qwqr self
typedef std::list< request_ptrqueue_type

Static Private Member Functions

static void * worker (void *arg)

Private Attributes

mutex write_mutex
mutex read_mutex
queue_type write_queue
queue_type read_queue
state< thread_state_thread_state
thread_type thread
semaphore sem

Static Private Attributes

static const priority_op _priority_op = WRITE

Detailed Description

Definition at line 29 of file request_queue_impl_qwqr.h.


Member Typedef Documentation

Definition at line 33 of file request_queue_impl_qwqr.h.

Definition at line 32 of file request_queue_impl_qwqr.h.


Constructor & Destructor Documentation


Member Function Documentation

Reimplemented from stxxl::request_queue.

Definition at line 56 of file request_queue_impl_qwqr.h.

void * stxxl::request_queue_impl_qwqr::worker ( void *  arg) [static, private]

Member Data Documentation

Definition at line 44 of file request_queue_impl_qwqr.h.

Definition at line 36 of file request_queue_impl_qwqr.h.

Referenced by add_request(), and cancel_request().

Definition at line 38 of file request_queue_impl_qwqr.h.

Referenced by add_request(), and cancel_request().

Definition at line 42 of file request_queue_impl_qwqr.h.

Referenced by add_request(), cancel_request(), and ~request_queue_impl_qwqr().

Definition at line 41 of file request_queue_impl_qwqr.h.

Referenced by request_queue_impl_qwqr(), and ~request_queue_impl_qwqr().

Definition at line 35 of file request_queue_impl_qwqr.h.

Referenced by add_request(), and cancel_request().

Definition at line 37 of file request_queue_impl_qwqr.h.

Referenced by add_request(), and cancel_request().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines