Stxxl
1.4.0
|
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 () |
Private Attributes | |
mutex | waiters_mutex |
std::set< onoff_switch * > | waiters |
Request that is aware of threads waiting for it to complete.
Definition at line 30 of file request_with_waiters.h.
bool stxxl::request_with_waiters::add_waiter | ( | onoff_switch * | sw | ) | [protected, virtual] |
Implements stxxl::request_interface.
Definition at line 21 of file request_with_waiters.cpp.
void stxxl::request_with_waiters::delete_waiter | ( | onoff_switch * | sw | ) | [protected, virtual] |
Implements stxxl::request_interface.
Definition at line 39 of file request_with_waiters.cpp.
void stxxl::request_with_waiters::notify_waiters | ( | ) | [protected, virtual] |
Implements stxxl::request_interface.
Definition at line 45 of file request_with_waiters.cpp.
References stxxl::for_each().
std::set<onoff_switch *> stxxl::request_with_waiters::waiters [private] |
Definition at line 33 of file request_with_waiters.h.
Definition at line 32 of file request_with_waiters.h.