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:
Tue May 17 13:00:14 2016 +0100
Parent:
114:031a41d65add
Child:
116:0788b1a76461
Commit message:
Synchronized with git revision b77f84df32dcbbce8ee9876fb736a1558c3549b8

Full URL: https://github.com/mbedmicro/mbed/commit/b77f84df32dcbbce8ee9876fb736a1558c3549b8/

Fixed a problem that can not be the task generation in Cortex-A9.

Changed in this revision

rtos/Thread.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/rtos/Thread.cpp	Fri May 06 19:15:13 2016 +0100
+++ b/rtos/Thread.cpp	Tue May 17 13:00:14 2016 +0100
@@ -34,7 +34,7 @@
 
 Thread::Thread(void (*task)(void const *argument), void *argument,
         osPriority priority, uint32_t stack_size, unsigned char *stack_pointer) {
-#ifdef __MBED_CMSIS_RTOS_CM
+#if defined(__MBED_CMSIS_RTOS_CA9) || defined(__MBED_CMSIS_RTOS_CM)
     _thread_def.pthread = task;
     _thread_def.tpriority = priority;
     _thread_def.stacksize = stack_size;