I am new to the ESP32 and I was wondering, how does the ESP32 handle threading? My understandig is that it runs on FreeRTOS, but I can't find any information on its thread model. When creating a new thread, how are the user threads mapped to kernel threads?
Thank you.
ESP32 Threading
Re: ESP32 Threading
There are no separate kernel and user modes, so there are no separate kernel threads and user threads either.
Re: ESP32 Threading
To create a "thread", which is a "task" in FreeRTOS lingo, you use one of the API calls described here:
https://docs.espressif.com/projects/esp ... ertos.html
Either:
https://docs.espressif.com/projects/esp ... ertos.html
Either:
- xTaskCreatePinnedToCore
- xTaskCreate
Who is online
Users browsing this forum: Google [Bot] and 121 guests