#include "blocxx/BLOCXX_config.h"#include "blocxx/Assertion.hpp"#include <pthread.h>#include <csignal>#include <cassert>#include "blocxx/MemoryBarrier.hpp"Go to the source code of this file.
Namespaces | |
| namespace | BLOCXX_NAMESPACE |
Classes | |
| struct | BLOCXX_NAMESPACE::OnceFlag |
| class | BLOCXX_NAMESPACE::CallOnce_pthread_MutexLock |
Defines | |
| #define | BLOCXX_ONCE_INIT {0, PTHREAD_MUTEX_INITIALIZER} |
Functions | |
| template<typename FuncT> | |
| void | BLOCXX_NAMESPACE::callOnce (OnceFlag &flag, FuncT F) |
| The first time callOnce is called with a given onceFlag argument, it calls func with no argument and changes the value of flag to indicate that func has been run. | |
| #define BLOCXX_ONCE_INIT {0, PTHREAD_MUTEX_INITIALIZER} |
Definition at line 70 of file ThreadOnce.hpp.
1.5.6