C++11 threads
Posted: Thu Sep 20, 2018 9:22 am
I have a third party library I would like to include into an my ESP-IDF project.
The library uses C++ threads, mutex etc.
My FreeRTOS task would call a library function. The library function would block on a C++11 mutex before sending to a C++ queue. A C++ thread would use the mutex to gain the queue and service.
The FreeRTOS task may therefore be blocked by a C++ mutex held by a C++ thread.
How is C++ threading integrated within the ESP-IDF? I assume that the native implementation is FreeRTOS?
Will .native_handle() return the FreeRTOS equivalent?
Has anyone used C++ threads in ESP-IDF. Are these features stable?
The library uses C++ threads, mutex etc.
My FreeRTOS task would call a library function. The library function would block on a C++11 mutex before sending to a C++ queue. A C++ thread would use the mutex to gain the queue and service.
The FreeRTOS task may therefore be blocked by a C++ mutex held by a C++ thread.
How is C++ threading integrated within the ESP-IDF? I assume that the native implementation is FreeRTOS?
Will .native_handle() return the FreeRTOS equivalent?
Has anyone used C++ threads in ESP-IDF. Are these features stable?