|
Stxxl
1.3.2
|
Request that is aware of threads waiting for it to complete. More...
#include <request_with_waiters.h>


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. More... | |
| virtual bool | cancel ()=0 |
| Cancel a request. More... | |
| virtual bool | poll ()=0 |
| Polls the status of the request. More... | |
| virtual const char * | io_type () const =0 |
| Identifies the type of I/O implementation. More... | |
| virtual std::ostream & | print (std::ostream &out) const =0 |
| Dumps properties of a request. More... | |
Request that is aware of threads waiting for it to complete.
1.8.5