esp_pthread_get_cfg() function
Get current pthread creation configuration This will retrieve the current configuration that will be used for creating threads.
Arguments
p
Pointer to the pthread config structure that will be updated with the currently configured parameters
Return value
- ESP_OK if the configuration was available - ESP_ERR_INVALID_ARG if p is NULL - ESP_ERR_NOT_FOUND if a configuration wasn't previously set