This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler/MSP432E401Y: How to use mutex with 20.2.3 compiler

Part Number: MSP432E401Y

Tool/software: TI C/C++ Compiler

Hello,

in my C++ project I have a central Event Loop (no RTOS) with a deque as a FIFO for the events. I need to lock the deque while adding and removing event objects from it. I included <mutex> from the libcxx folder and this file includes <__mutex_base> where the mutex class is defined, but when I compile I get the error message error #20: identifier "mutex" is undefined. 

But even if this would not happen, there is no <thread> file to include. How can I protect the deque with the provided library?