0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Namespaces
Barrier.h File Reference

A Barrier to block execution of code. More...

#include <condition_variable>
#include <mutex>
Include dependency graph for Barrier.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Hypertable::Barrier
 A Barrier to block execution of code. More...
 
class  Hypertable::Barrier::ScopedActivator
 A helper class to put up a barrier when entering a scope and take it down when leaving the scope. More...
 

Namespaces

 Hypertable
 Hypertable definitions
 

Detailed Description

A Barrier to block execution of code.

This barrier works similar to a critical section, but allows threads to execute the code if the barrier is down, and blocks threads while the barrier is up

Definition in file Barrier.h.