Home
last modified time | relevance | path

Searched refs:new_worker (Results 1 – 2 of 2) sorted by relevance

/hal_infineon-latest/abstraction-rtos/source/
Dcy_worker_thread.c87 cy_rslt_t cy_worker_thread_create(cy_worker_thread_info_t* new_worker, in cy_worker_thread_create() argument
91 CY_ASSERT((params != NULL) && (new_worker != NULL)); in cy_worker_thread_create()
95 memset(new_worker, 0, sizeof(cy_worker_thread_info_t)); in cy_worker_thread_create()
97 cy_rslt_t result = cy_rtos_queue_init(&new_worker->event_queue, in cy_worker_thread_create()
104 new_worker->state = CY_WORKER_THREAD_VALID; in cy_worker_thread_create()
105 result = cy_rtos_thread_create(&new_worker->thread, in cy_worker_thread_create()
113 (cy_thread_arg_t)new_worker); in cy_worker_thread_create()
117 new_worker->state = CY_WORKER_THREAD_INVALID; in cy_worker_thread_create()
118 cy_rtos_queue_deinit(&new_worker->event_queue); in cy_worker_thread_create()
/hal_infineon-latest/abstraction-rtos/include/
Dcy_worker_thread.h108 cy_rslt_t cy_worker_thread_create(cy_worker_thread_info_t* new_worker,