summaryrefslogtreecommitdiff
path: root/src/threads/call_once.c
blob: 8757d200c5b45631f88fa22ef714a8044c0cc57b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#if 0

#include <threads.h>
#include <pthread.h>

void call_once(once_flag *flag, void (*func)(void))
{
	SIGNAL_SAFE(0);
	pthread_once(flag, func);
}

typedef void (*once_fn)(void);

__vcheck_2(call_once, once_flag *, once_fn);

/*
STDC(201112)
*/


#endif