Thread example

Revision:
4:19bf8c7e9b56
Parent:
3:4090b465745c
--- a/main.cpp	Fri Sep 20 15:11:07 2019 +0000
+++ b/main.cpp	Fri Nov 08 10:28:31 2019 +0000
@@ -49,7 +49,7 @@
     
     //Main thread loop
     while(1) {
-        //ThisThread::sleep_for(osWaitForever);
+        //ThisThread::sleep_for(osWaitForever); //There is a task to uncomment this
         ThisThread::sleep_for(5000);
         printf("Main is Awake\n");  //Should not happen when osWaitForever is used
     }