Lines Matching refs:pthread_cfg
241 esp_pthread_cfg_t *pthread_cfg = pthread_getspecific(s_pthread_cfg_key); in pthread_create() local
242 if (pthread_cfg) { in pthread_create()
243 if (pthread_cfg->stack_size) { in pthread_create()
244 stack_size = pthread_cfg->stack_size; in pthread_create()
246 if (pthread_cfg->prio && pthread_cfg->prio < configMAX_PRIORITIES) { in pthread_create()
247 prio = pthread_cfg->prio; in pthread_create()
250 if (pthread_cfg->inherit_cfg) { in pthread_create()
251 if (pthread_cfg->thread_name == NULL) { in pthread_create()
256 task_name = pthread_cfg->thread_name; in pthread_create()
258 } else if (pthread_cfg->thread_name == NULL) { in pthread_create()
261 task_name = pthread_cfg->thread_name; in pthread_create()
264 if (pthread_cfg->pin_to_core >= 0 && pthread_cfg->pin_to_core < portNUM_PROCESSORS) { in pthread_create()
265 core_id = pthread_cfg->pin_to_core; in pthread_create()
268 task_arg->cfg = *pthread_cfg; in pthread_create()