once.h File Reference

#include <pthread.h>
#include <isc/platform.h>
#include <isc/result.h>

Go to the source code of this file.

Defines

#define ISC_ONCE_H   1
#define ISC_ONCE_INIT   PTHREAD_ONCE_INIT
#define isc_once_do(op, f)

Typedefs

typedef pthread_once_t isc_once_t


Detailed Description

Definition in file once.h.


Define Documentation

#define ISC_ONCE_H   1

Definition at line 21 of file once.h.

#define ISC_ONCE_INIT   PTHREAD_ONCE_INIT

This is the usual case.

Definition at line 40 of file once.h.

#define isc_once_do ( op,
 ) 

Value:

((pthread_once((op), (f)) == 0) ? \
         ISC_R_SUCCESS : ISC_R_UNEXPECTED)

Definition at line 45 of file once.h.


Typedef Documentation

typedef pthread_once_t isc_once_t

Definition at line 30 of file once.h.


Generated on Tue Apr 28 17:41:18 2015 by Doxygen 1.5.4 for BIND9 Internals 9.11.0pre-alpha