Hi,
Now that std::thread can be used instead of the native FreeRTOS API, how do you set the stack size and priority? make menuconfig can set a default, but I don't want all my threads to use the same stack size and priority.
If they still are FreeRTOS threads under the hood, I suppose the priority could be set after creation using FreeRTOS API, but what about the stack?
std::thread stack size
Re: std::thread stack size
There may already be an open issue on this one ... is this close:
https://github.com/espressif/esp-idf/issues/988
https://github.com/espressif/esp-idf/issues/988
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32
Re: std::thread stack size
Indeed, that's what I'm looking for.kolban wrote:There may already be an open issue on this one ... is this close:
https://github.com/espressif/esp-idf/issues/988
Who is online
Users browsing this forum: Bing [Bot], Majestic-12 [Bot], MicroController and 102 guests