Multi-Threading

Dear Community,

I want to create a C++ application where 2 interfaces (1 TCP/IP and 1 CAN) are running parallel and the obtained data from the different interfaces is then processed. In order to achieve this I’ll be using threads.
My question to you is: Is std::thread (C+±11) safe on the Colibri or should I stick to the pthread library to develop my application?

Thank you very much.

Greetings @cae30989!

This does not depend on the Colibri module, but on the C++ implementation itself. If std::thread on C++11 is safe, you can use that regardless of the module or the OS.

Thank you @gustavo.tx!

You are welcome.