Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
5 years, 6 months ago.
What happened to threads?
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
5 years, 6 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.