Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

ThreadOnce.hpp File Reference

#include "blocxx/BLOCXX_config.h"
#include <pthread.h>

Include dependency graph for ThreadOnce.hpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  BLOCXX_NAMESPACE

Defines

#define BLOCXX_ONCE_INIT   PTHREAD_ONCE_INIT

Typedefs

typedef pthread_once_t BLOCXX_NAMESPACE::OnceFlag

Functions

void BLOCXX_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 BLOCXX_ONCE_INIT   PTHREAD_ONCE_INIT
 

Definition at line 50 of file ThreadOnce.hpp.


Generated on Tue Sep 13 00:03:50 2005 for blocxx by  doxygen 1.4.4