I would like to know if any of the compilers/libraries for Cortex-M support the std::thread type (from the <thread> header) or if there is any plan to support that in the near future. I am interested in both Keil MDK / DS-5 or GCC for ARM. Thank you!
Actually with some small modifications to the GCC headers, this can be done on top of FreeRTOS as an example (it provides the threading).
Here's an article;
https://www.researchgate.net/publication/282350782_C14_concurrency_on_ARM_Cortex-M_using_FreeRTOS_and_GCC
..and the code;
https://github.com/microHAL/microhal
You don't need all of that though, there's about half a dozen headers you need to modify to put in place a FreeRTOS based version of gthread, which is the C++ OS portability layer. It works well.