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.

Files at this revision

API Documentation at this revision

Comitter:
mbed_official
Date:
Fri Mar 28 17:30:09 2014 +0000
Parent:
24:4e0e79c9b976
Child:
26:cb1d43beeb70
Commit message:
Synchronized with git revision 3dd4af08339e3ce7cd1aa9e4a211a2e24526e8c1

Full URL: https://github.com/mbedmicro/mbed/commit/3dd4af08339e3ce7cd1aa9e4a211a2e24526e8c1/

Add newline character to stack allocation error

Changed in this revision

rtos/Thread.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/rtos/Thread.cpp	Mon Mar 24 17:45:24 2014 +0000
+++ b/rtos/Thread.cpp	Fri Mar 28 17:30:09 2014 +0000
@@ -37,7 +37,7 @@
     } else {
         _thread_def.stack_pointer = new unsigned char[stack_size];
         if (_thread_def.stack_pointer == NULL)
-            error("Error allocating the stack memory");
+            error("Error allocating the stack memory\n");
         _dynamic_stack = true;
     }
 #endif