8 lines
128 B
C
8 lines
128 B
C
#include <threads.h>
|
|
#include <pthread.h>
|
|
|
|
void call_once(once_flag *flag, void (*func)(void))
|
|
{
|
|
__pthread_once(flag, func);
|
|
}
|