XZ Utils  5.1.0alpha
Macros
mythread.h File Reference

Some threading related helper macros and functions. More...

#include "sysdefs.h"

Macros

#define mythread_sigmask(how, set, oset)   sigprocmask(how, set, oset)
 
#define mythread_once(func)
 

Detailed Description

Some threading related helper macros and functions.

Macro Definition Documentation

#define mythread_once (   func)
Value:
do { \
static bool once_ = false; \
if (!once_) { \
func(); \
once_ = true; \
} \
} while (0)