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

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

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

/*
STDC(201112)
*/


#endif