source:
EcnlProtoTool/trunk/musl-1.1.18/src/thread/call_once.c@
445
Last change on this file since 445 was 444, checked in by , 4 years ago | |
---|---|
|
|
File size: 157 bytes |
Line | |
---|---|
1 | #include <threads.h> |
2 | |
3 | int __pthread_once(once_flag *, void (*)(void)); |
4 | |
5 | void call_once(once_flag *flag, void (*func)(void)) |
6 | { |
7 | __pthread_once(flag, func); |
8 | } |
Note:
See TracBrowser
for help on using the repository browser.