Osama Ashaikh / mbed-rtos

Fork of mbed-rtos by mbed official

Revision:
121:33cea2f9dfee
Parent:
90:21b438192b0f
--- a/rtos/Thread.cpp	Mon Jan 11 17:00:32 2016 +0000
+++ b/rtos/Thread.cpp	Fri Sep 02 02:10:10 2016 +0000
@@ -21,7 +21,7 @@
  */
 #include "Thread.h"
 
-#include "mbed_error.h"
+//#include "mbed_error.h"
 
 namespace rtos {
 
@@ -37,7 +37,7 @@
     } else {
         _thread_def.stack_pointer = new uint32_t[stack_size/sizeof(uint32_t)];
         if (_thread_def.stack_pointer == NULL)
-            error("Error allocating the stack memory\n");
+            //error("Error allocating the stack memory\n");
         _dynamic_stack = true;
     }