Lab4 RTOS

Fork of mbed-rtos by mbed official

Revision:
25:420a92812cd1
Parent:
8:88a1a9c26ae3
Child:
35:b8555a5966f6
--- 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