Classes | |
struct | isReady |
Public Types | |
typedef boost::shared_ptr < Barrier > | shared_ptr |
Public Member Functions | |
Barrier (drizzled::session_id_t owner_arg) | |
Barrier (drizzled::session_id_t owner_arg, int64_t limit_arg) | |
void | signal () |
drizzled::session_id_t | getOwner () const |
void | wait () |
void | wait_until (int64_t wait_until_arg) |
void | wait (int64_t generation_arg) |
int64_t | getGeneration () |
int64_t | sizeObservers () |
int64_t | sizeWaiters () |
int64_t | getLimit () const |
Private Member Functions | |
void | wakeAll () |
void | checkObservers () |
int64_t | count () const |
Private Attributes | |
drizzled::session_id_t | owner |
const int64_t | limit |
int64_t | current_wait |
int64_t | generation |
Observer::list | observers |
boost::mutex | sleeper_mutex |
boost::condition_variable_any | sleep_threshhold |