Official mbed Real Time Operating System based on the RTX implementation of the CMSIS-RTOS API open standard.
Dependents: denki-yohou_b TestY201 Network-RTOS NTPClient_HelloWorld ... more
Deprecated
This is the mbed 2 rtos library. mbed OS 5 integrates the mbed library with mbed-rtos. With this, we have provided thread safety for all mbed APIs. If you'd like to learn about using mbed OS 5, please see the docs.
Diff: rtos/Thread.cpp
- Revision:
- 90:21b438192b0f
- Parent:
- 85:ef0a22cdf839
- Child:
- 107:bdd541595fc5
diff -r 5aed8bae1001 -r 21b438192b0f rtos/Thread.cpp
--- a/rtos/Thread.cpp Mon Jul 13 09:00:34 2015 +0100
+++ b/rtos/Thread.cpp Thu Aug 13 09:00:11 2015 +0100
@@ -42,7 +42,7 @@
}
//Fill the stack with a magic word for maximum usage checking
- for (int i = 0; i < (stack_size / sizeof(uint32_t)); i++) {
+ for (uint32_t i = 0; i < (stack_size / sizeof(uint32_t)); i++) {
_thread_def.stack_pointer[i] = 0xE25A2EA5;
}
#endif
mbed official