Lines Matching refs:task_arg
39 void *task_arg; ///< Task arguments member
178 esp_pthread_task_arg_t *task_arg = (esp_pthread_task_arg_t *)arg; in pthread_task_func() local
180 ESP_LOGV(TAG, "%s ENTER %p", __FUNCTION__, task_arg->func); in pthread_task_func()
185 if (task_arg->cfg.inherit_cfg) { in pthread_task_func()
190 esp_pthread_cfg_t *cfg = &task_arg->cfg; in pthread_task_func()
194 ESP_LOGV(TAG, "%s START %p", __FUNCTION__, task_arg->func); in pthread_task_func()
195 rval = task_arg->func(task_arg->arg); in pthread_task_func()
196 ESP_LOGV(TAG, "%s END %p", __FUNCTION__, task_arg->func); in pthread_task_func()
209 esp_pthread_task_arg_t *task_arg = calloc(1, sizeof(esp_pthread_task_arg_t)); in pthread_create() local
210 if (task_arg == NULL) { in pthread_create()
218 free(task_arg); in pthread_create()
254 task_arg->cfg = *pthread_cfg; in pthread_create()
271 task_arg->func = start_routine; in pthread_create()
272 task_arg->arg = arg; in pthread_create()
273 pthread->task_arg = task_arg; in pthread_create()
281 task_arg, in pthread_create()
289 free(task_arg); in pthread_create()
422 if (pthread->task_arg) { in pthread_exit()
423 free(pthread->task_arg); in pthread_exit()