Merge branch 'docs/add_application_examples_system_component' into 'master'

docs: add or update application examples of system component

See merge request espressif/esp-idf!32004
This commit is contained in:
Zhang Xiao Yan
2024-07-29 17:20:17 +08:00
27 changed files with 161 additions and 65 deletions
+2 -3
View File
@@ -252,13 +252,12 @@ The API :cpp:func:`esp_pthread_set_cfg` defined in the ``esp_pthreads.h`` header
This configuration is scoped to the calling thread (or FreeRTOS task), meaning that :cpp:func:`esp_pthread_set_cfg` can be called independently in different threads or tasks. If the ``inherit_cfg`` flag is set in the current configuration then any new thread created will inherit the creator's configuration (if that thread calls ``pthread_create()`` recursively), otherwise the new thread will have the default configuration.
Examples
--------
Application Examples
--------------------
- :example:`system/pthread` demonstrates using the pthreads API to create threads.
- :example:`cxx/pthread` demonstrates using C++ Standard Library functions with threads.
API Reference
-------------