std::thread stack size
Posted: Wed Oct 18, 2017 9:36 pm
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?
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?