1570af302Sopenharmony_ci#include <threads.h> 2570af302Sopenharmony_ci#include <pthread.h> 3570af302Sopenharmony_ci 4570af302Sopenharmony_civoid call_once(once_flag *flag, void (*func)(void)) 5570af302Sopenharmony_ci{ 6570af302Sopenharmony_ci __pthread_once(flag, func); 7570af302Sopenharmony_ci} 8