Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-rtos by
Diff: rtos/Thread.cpp
- 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;
     }
     
    