Searched refs:once_control (Results 1 – 5 of 5) sorted by relevance
/third_party/ffmpeg/compat/ |
D | os2threads.h | 210 static av_always_inline int pthread_once(pthread_once_t *once_control, in pthread_once() argument 213 if (!once_control->done) in pthread_once() 215 _fmutex_request(&once_control->mtx, 0); in pthread_once() 217 if (!once_control->done) in pthread_once() 221 once_control->done = 1; in pthread_once() 224 _fmutex_release(&once_control->mtx); in pthread_once()
|
D | w32pthreads.h | 130 static av_unused int pthread_once(pthread_once_t *once_control, void (*init_routine)(void)) in pthread_once() argument 133 InitOnceBeginInitialize(once_control, 0, &pending, NULL); in pthread_once() 136 InitOnceComplete(once_control, 0, NULL); in pthread_once()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_once/ |
D | 1-1.c | 41 pthread_once_t once_control = PTHREAD_ONCE_INIT; in main() local 46 ret = pthread_once(&once_control, an_init_func); in main() 53 ret = pthread_once(&once_control, an_init_func); in main()
|
D | 3-1.c | 32 static pthread_once_t once_control = PTHREAD_ONCE_INIT; variable 57 pthread_once(&once_control, (void *)an_init_func); in a_thread_func() 104 pthread_once(&once_control, (void *)an_init_func2); in main()
|
/third_party/ffmpeg/libavutil/ |
D | thread.h | 128 static inline int strict_pthread_once(pthread_once_t *once_control, void (*init_routine)(void)) in strict_pthread_once() argument 130 ASSERT_PTHREAD(pthread_once, once_control, init_routine); in strict_pthread_once()
|