Home
last modified time | relevance | path

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

/hal_infineon-latest/abstraction-rtos/source/
Dcy_worker_thread.c128 cy_rslt_t cy_worker_thread_delete(cy_worker_thread_info_t* old_worker) in cy_worker_thread_delete() argument
133 if (old_worker->state != CY_WORKER_THREAD_INVALID) in cy_worker_thread_delete()
136 if (old_worker->state == CY_WORKER_THREAD_VALID) in cy_worker_thread_delete()
141 old_worker->state = CY_WORKER_THREAD_TERMINATING; in cy_worker_thread_delete()
144 result = cy_rtos_queue_put(&old_worker->event_queue, &dispatch_info, 0); in cy_worker_thread_delete()
149 old_worker->state = CY_WORKER_THREAD_VALID; in cy_worker_thread_delete()
156 if (old_worker->state != CY_WORKER_THREAD_JOIN_COMPLETE) in cy_worker_thread_delete()
159 result = cy_rtos_thread_join(&old_worker->thread); in cy_worker_thread_delete()
165 old_worker->state = CY_WORKER_THREAD_JOIN_COMPLETE; in cy_worker_thread_delete()
168 if (old_worker->state != CY_WORKER_THREAD_INVALID) in cy_worker_thread_delete()
[all …]
/hal_infineon-latest/abstraction-rtos/include/
Dcy_worker_thread.h120 cy_rslt_t cy_worker_thread_delete(cy_worker_thread_info_t* old_worker);