Found 2 other functions taking a
esp_pthread_cfg_t
argument:
Configure parameters for creating pthread This API allows you to configure how the subsequent pthread_create() call will behave. This call can be used to setup configuration parameters like stack size, priority, configuration inheritance etc. If the 'inherit' flag in the configuration structure is enabled, then the same configuration is also inherited in the thread subtree.
Get current pthread creation configuration This will retrieve the current configuration that will be used for creating threads.