Searched refs:new_worker (Results 1 – 2 of 2) sorted by relevance
87 cy_rslt_t cy_worker_thread_create(cy_worker_thread_info_t* new_worker, in cy_worker_thread_create() argument91 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()
108 cy_rslt_t cy_worker_thread_create(cy_worker_thread_info_t* new_worker,