Lines Matching refs:task_arg
52 void *task_arg; ///< Task arguments member
192 esp_pthread_task_arg_t *task_arg = (esp_pthread_task_arg_t *)arg; in pthread_task_func() local
194 ESP_LOGV(TAG, "%s ENTER %p", __FUNCTION__, task_arg->func); in pthread_task_func()
199 if (task_arg->cfg.inherit_cfg) { in pthread_task_func()
204 esp_pthread_cfg_t *cfg = &task_arg->cfg; in pthread_task_func()
208 ESP_LOGV(TAG, "%s START %p", __FUNCTION__, task_arg->func); in pthread_task_func()
209 rval = task_arg->func(task_arg->arg); in pthread_task_func()
210 ESP_LOGV(TAG, "%s END %p", __FUNCTION__, task_arg->func); in pthread_task_func()
223 esp_pthread_task_arg_t *task_arg = calloc(1, sizeof(esp_pthread_task_arg_t)); in pthread_create() local
224 if (task_arg == NULL) { in pthread_create()
232 free(task_arg); in pthread_create()
268 task_arg->cfg = *pthread_cfg; in pthread_create()
285 task_arg->func = start_routine; in pthread_create()
286 task_arg->arg = arg; in pthread_create()
287 pthread->task_arg = task_arg; in pthread_create()
295 task_arg, in pthread_create()
303 free(task_arg); in pthread_create()
436 if (pthread->task_arg) { in pthread_exit()
437 free(pthread->task_arg); in pthread_exit()