Home
last modified time | relevance | path

Searched refs:once_control (Results 1 – 3 of 3) sorted by relevance

/ThreadX-v6.4.1/utility/rtos_compatibility_layers/posix/
Dpx_pth_once.c75 INT pthread_once (pthread_once_t * once_control, VOID (*init_routine) (VOID)) in pthread_once() argument
81 if (once_control == NULL || init_routine == NULL) in pthread_once()
87 if ( once_control->state==PTH_ONCE_DONE) in pthread_once()
95 if (once_control->state==PTH_ONCE_INIT) in pthread_once()
97 once_control->state=PTH_ONCE_STARTED; in pthread_once()
98 tx_event_flags_create(&(once_control->event),"once flags"); in pthread_once()
104 tx_event_flags_set(&(once_control->event), PTH_ONCE_INIT, TX_AND); in pthread_once()
106 once_control->state=PTH_ONCE_DONE; in pthread_once()
112 if (once_control->state==PTH_ONCE_STARTED) in pthread_once()
114 …tx_event_flags_get(&(once_control->event), PTH_ONCE_INIT, TX_AND, &(once_control->flags) ,TX_WAIT_… in pthread_once()
Dtx_posix.h543 INT pthread_once (pthread_once_t * once_control, VOID (*init_routine) (VOID));
Dreadme_threadx_posix.txt174 INT pthread_once (pthread_once_t * once_control, VOID (*init_routine) (VOID))
343 10.) pthread_once (pthread_once_t * once_control, VOID (*init_routine) (VOID))