c/pthread/sync.Once
This commit is contained in:
6
c/pthread/sync/_pthd/pthd.c
Normal file
6
c/pthread/sync/_pthd/pthd.c
Normal file
@@ -0,0 +1,6 @@
|
||||
#include <pthread.h>
|
||||
|
||||
pthread_once_t llgoSyncOnceInitVal() {
|
||||
pthread_once_t initVal = PTHREAD_ONCE_INIT;
|
||||
return initVal;
|
||||
}
|
||||
Reference in New Issue
Block a user