Once.h File Reference

#include <pthread.h>

Include dependency graph for Once.h:

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

Go to the source code of this file.


Namespaces

namespace  zypp
 Easy-to use interface to the ZYPP dependency resolver.
namespace  zypp::thread

Defines

#define ZYPP_ONCE_INIT   PTHREAD_ONCE_INIT
 The initialization value for OnceFlag variables.

Typedefs

typedef pthread_once_t zypp::thread::OnceFlag
 The OnceFlag variable type.

Functions

void zypp::thread::callOnce (OnceFlag &flag, void(*func)())
 Call once function.


Detailed Description

Definition in file Once.h.


Define Documentation

#define ZYPP_ONCE_INIT   PTHREAD_ONCE_INIT

The initialization value for OnceFlag variables.

Definition at line 27 of file Once.h.


doxygen