Searched refs:pthread_once (Results 1 - 25 of 25) sorted by relevance

/freebsd-10.1-release/sys/sys/
H A D_pthreadtypes.h50 struct pthread_once;
74 typedef struct pthread_once pthread_once_t;
93 struct pthread_once { struct
/freebsd-10.1-release/lib/libstdthreads/
H A Dcall_once.c40 (void)pthread_once((pthread_once_t *)flag, func);
/freebsd-10.1-release/contrib/ntp/lib/isc/pthreads/include/isc/
H A Donce.h47 ((pthread_once((op), (f)) == 0) ? \
/freebsd-10.1-release/contrib/xz/src/common/
H A Dmythread.h22 pthread_once(&once_, &func); \
/freebsd-10.1-release/lib/libkse/thread/
H A Dthr_once.c37 __weak_reference(_pthread_once, pthread_once);
49 * The pthread_once() function is not a cancellation point. However,
51 * on once_control shall be as if pthread_once() was never called.
/freebsd-10.1-release/contrib/gcc/
H A Dgthr-tpf.h81 __gthrw(pthread_once)
106 return __gthrw_(pthread_once) (once, func);
H A Dgthr-posix.h82 __gthrw3(pthread_once)
92 __gthrw(pthread_once)
151 error value. However pthread_once returns 0 without invoking the routine
184 if (__gthrw_(pthread_once))
189 __gthrw_(pthread_once) (&__gthread_active_once, __gthread_trigger);
578 return __gthrw_(pthread_once) (once, func);
H A Dgthr-posix.c37 pthread_once (pthread_once_t *once ATTRIBUTE_UNUSED, function
H A Dgthr-posix95.h68 __gthrw(pthread_once)
114 error value. However pthread_once returns 0 without invoking the routine
150 if (__gthrw_(pthread_once))
155 __gthrw_(pthread_once) (&__gthread_active_once, __gthread_trigger);
544 return __gthrw_(pthread_once) (once, func);
H A Dgthr-dce.h68 __gthrw(pthread_once)
436 return __gthrw_(pthread_once) (once, func);
/freebsd-10.1-release/lib/libthr/thread/
H A Dthr_once.c36 __weak_reference(_pthread_once, pthread_once);
45 * The pthread_once() function is not a cancellation point. However,
47 * on once_control shall be as if pthread_once() was never called.
/freebsd-10.1-release/contrib/jemalloc/src/
H A Dmutex.c58 pthread_once(&once_control, pthread_create_once);
/freebsd-10.1-release/usr.sbin/bhyve/
H A Dpmtmr.c137 pthread_once(&pmtmr_once, pmtmr_init);
/freebsd-10.1-release/include/
H A Dpthread.h224 int pthread_once(pthread_once_t *, void (*) (void));
/freebsd-10.1-release/lib/libkse/
H A Dkse.map96 pthread_once;
/freebsd-10.1-release/lib/libthr/
H A Dpthread.map104 pthread_once;
/freebsd-10.1-release/contrib/apr/threadproc/unix/
H A Dthread.c316 return pthread_once(&control->once, func);
/freebsd-10.1-release/lib/libc/include/
H A Dnamespace.h168 #define pthread_once _pthread_once macro
H A Dun-namespace.h149 #undef pthread_once macro
/freebsd-10.1-release/lib/libc/gen/
H A DSymbol.map52 pthread_once;
H A D_pthread_stubs.c232 STUB_FUNC2(pthread_once, PJT_ONCE, int, void *, void *)
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DUnixAPIChecker.cpp146 // pthread_once
172 os << "Call to 'pthread_once' uses";
182 LazyInitialize(BT_pthreadOnce, "Improper use of 'pthread_once'");
344 .Case("pthread_once", &UnixAPIChecker::CheckPthreadOnce)
/freebsd-10.1-release/contrib/llvm/tools/lldb/source/Host/freebsd/
H A DHost.cpp77 ::pthread_once (&g_thread_create_once, InitThreadCreated);
/freebsd-10.1-release/share/man/man3/
H A DMakefile227 pthread_once.3 \
/freebsd-10.1-release/contrib/libcxxrt/
H A Dexception.cc41 #pragma weak pthread_once macro
392 if ((0 == pthread_once) || pthread_once(&once_control, init_key))

Completed in 387 milliseconds