OW_ThreadOnce.hpp File Reference

#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.


Define Documentation

#define OW_ONCE_INIT   PTHREAD_ONCE_INIT
 

Definition at line 49 of file OW_ThreadOnce.hpp.


Generated on Thu Feb 9 09:06:39 2006 for openwbem by  doxygen 1.4.6