Thread example
Revision 4:19bf8c7e9b56, committed 2019-11-08
- Comitter:
- noutram
- Date:
- Fri Nov 08 10:28:31 2019 +0000
- Parent:
- 3:4090b465745c
- Commit message:
- Updated for 2019
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
| mbed-os.lib | Show annotated file Show diff for this revision Revisions of this file |
--- 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
}
--- a/mbed-os.lib Fri Sep 20 15:11:07 2019 +0000 +++ b/mbed-os.lib Fri Nov 08 10:28:31 2019 +0000 @@ -1,1 +1,1 @@ -https://github.com/ARMmbed/mbed-os/#1bf6b20df9d3cd5f29f001ffc6f0d0fcbbb96118 +https://github.com/ARMmbed/mbed-os/#3a57ec7401a77b8b98f6356a1498cb154229483f