#include "OW_config.h"
#include <pthread.h>
Include dependency graph for OW_ThreadOnce.hpp:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
namespace | OW_NAMESPACE |
Defines | |
#define | OW_ONCE_INIT PTHREAD_ONCE_INIT |
Typedefs | |
typedef pthread_once_t | OW_NAMESPACE::OnceFlag |
Functions | |
void | OW_NAMESPACE::callOnce (OnceFlag &flag, void(*func)()) |
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. |
|
Definition at line 49 of file OW_ThreadOnce.hpp. |