4 years, 11 months ago.

What happened to threads?

/media/uploads/romanpopov/------_------_--_2019-05-20_11-00-46.png I could not compile my program today, although it compiled well about a week ago. I used the example from the documentation and got the exact same error. How to use threads now?

1 Answer

4 years, 11 months ago.

Hi there,

the documentation is for the MbedOS 5+ so you need to replace the Mbed (this is a MbedOS2 and here are not included any functions of the RTOS) library with MbedOS library.

Delete your Mbed lib and import MbedOS - right click on a project folder > Import Library > From URL... > https://github.com/ARMmbed/mbed-os

Best regards

J.