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_1q Class Reference

#include <request_queue_impl_1q.h>

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

List of all members.

Public Member Functions

 request_queue_impl_1q (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_1q ()

Private Types

typedef request_queue_impl_1q self
typedef std::list< request_ptrqueue_type

Static Private Member Functions

static void * worker (void *arg)

Private Attributes

mutex queue_mutex
queue_type 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_1q.h.


Member Typedef Documentation

Definition at line 33 of file request_queue_impl_1q.h.

Definition at line 32 of file request_queue_impl_1q.h.


Constructor & Destructor Documentation


Member Function Documentation

Reimplemented from stxxl::request_queue.

Definition at line 54 of file request_queue_impl_1q.h.

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

Member Data Documentation

Definition at line 42 of file request_queue_impl_1q.h.

Definition at line 36 of file request_queue_impl_1q.h.

Definition at line 35 of file request_queue_impl_1q.h.

Referenced by add_request(), and cancel_request().

Definition at line 40 of file request_queue_impl_1q.h.

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

Definition at line 39 of file request_queue_impl_1q.h.

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


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