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

/illumos-gate/usr/src/boot/sys/sys/
H A D_pthreadtypes.h50 struct pthread_once;
74 typedef struct pthread_once pthread_once_t;
93 struct pthread_once { struct
/illumos-gate/usr/src/lib/libc/port/rt/
H A Dclock_timer.c90 (void) pthread_once(&timer_once, timer_init);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/support/
H A Dthreads.c141 || &pthread_once == 0
153 seem to be present. If we call pthread_once, does it
156 || pthread_once(&loaded_test_once, loaded_test_aux) != 0
157 || pthread_once(&loaded_test_once, loaded_test_aux) != 0
158 /* This catches cases where pthread_once does nothing, and
/illumos-gate/usr/src/lib/libbsm/common/
H A Daudit_plugin.c74 (void) pthread_once(&once_control, init_syslog_mutex);
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/include/
H A Dk5-thread.h106 points which either calls pthread_once on the first function
121 function only once? Through something modelled on pthread_once
127 For POSIX: Map onto pthread_once facility.
135 in k5-thread.h and k5-platform.h will be converted to pthread_once
439 Linux: Stub mutex routines exist, but pthread_once does not.
441 Solaris: In libc there's a pthread_once that doesn't seem to do
446 address. We now have tests to see if pthread_once actually works,
452 The C library doesn't provide pthread_once; we can use weak
464 # pragma weak pthread_once
475 # define K5_PTHREADS_LOADED (&pthread_once !
459 # pragma weak pthread_once macro
[all...]
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dc11_thr.c42 if (pthread_once(flag, func) != 0)
H A Dpthread.c34 * pthread_once related data
181 * pthread_once: calls given function only once.
185 pthread_once(pthread_once_t *once_control, void (*init_routine)(void)) function
/illumos-gate/usr/src/head/
H A Dpthread.h127 /* pthread_once related values */
215 extern int pthread_once(pthread_once_t *, void (*)(void));
/illumos-gate/usr/src/lib/libsysevent/
H A Dlibevchannel.c390 (void) pthread_once(&xsub_thrattr_once, xsub_thrattr_init);
610 (void) pthread_once(&dfltsa_inited, init_dfltsa);
H A Dlibsysevent.c2070 (void) pthread_once(&xdoor_thrattr_once, xdoor_thrattr_init);
/illumos-gate/usr/src/lib/auditd_plugins/remote/
H A Dtransport.c773 (void) pthread_once(&recv_once_control, init_recv_record);
/illumos-gate/usr/src/man/man3c/
H A DMakefile345 pthread_once.3c \

Completed in 92 milliseconds