Stxxl  1.3.1
Protected Member Functions | List of all members
request_with_waiters Class Reference

Request that is aware of threads waiting for it to complete. More...

#include <request_with_waiters.h>

Inheritance diagram for request_with_waiters:
Inheritance graph
[legend]
Collaboration diagram for request_with_waiters:
Collaboration graph
[legend]

Protected Member Functions

bool add_waiter (onoff_switch *sw)
void delete_waiter (onoff_switch *sw)
void notify_waiters ()
- Protected Member Functions inherited from request_interface
virtual void completed ()=0

Additional Inherited Members

- Public Types inherited from request_interface
enum  request_type { READ, WRITE }
typedef stxxl::external_size_type offset_type
typedef stxxl::internal_size_type size_type
- Public Member Functions inherited from request_interface
virtual void serve ()=0
virtual void wait (bool measure_time=true)=0
 Suspends calling thread until completion of the request.
virtual bool cancel ()=0
 Cancel a request.
virtual bool poll ()=0
 Polls the status of the request.
virtual const char * io_type () const =0
 Identifies the type of I/O implementation.
virtual std::ostream & print (std::ostream &out) const =0
 Dumps properties of a request.

Detailed Description

Request that is aware of threads waiting for it to complete.


The documentation for this class was generated from the following files: