Home
last modified time | relevance | path

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

/ThreadX-v6.3.0/utility/rtos_compatibility_layers/posix/
Dpx_pth_once.c76 INT pthread_once (pthread_once_t * once_control, VOID (*init_routine) (VOID)) in pthread_once() argument
82 if (once_control == NULL || init_routine == NULL) in pthread_once()
88 if ( once_control->state==PTH_ONCE_DONE) in pthread_once()
96 if (once_control->state==PTH_ONCE_INIT) in pthread_once()
98 once_control->state=PTH_ONCE_STARTED; in pthread_once()
99 tx_event_flags_create(&(once_control->event),"once flags"); in pthread_once()
105 tx_event_flags_set(&(once_control->event), PTH_ONCE_INIT, TX_AND); in pthread_once()
107 once_control->state=PTH_ONCE_DONE; in pthread_once()
113 if (once_control->state==PTH_ONCE_STARTED) in pthread_once()
115 …tx_event_flags_get(&(once_control->event), PTH_ONCE_INIT, TX_AND, &(once_control->flags) ,TX_WAIT_… in pthread_once()
Dtx_posix.h544 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))