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.
Diff: rtx/TARGET_CORTEX_A/RTX_Conf_CA.c
- Revision:
- 107:bdd541595fc5
- Parent:
- 85:ef0a22cdf839
- Child:
- 109:3b7dd22a5b25
diff -r dfc27975e193 -r bdd541595fc5 rtx/TARGET_CORTEX_A/RTX_Conf_CA.c
--- a/rtx/TARGET_CORTEX_A/RTX_Conf_CA.c Wed Mar 02 11:30:15 2016 +0000
+++ b/rtx/TARGET_CORTEX_A/RTX_Conf_CA.c Tue Mar 15 09:00:39 2016 +0000
@@ -223,14 +223,12 @@
*---------------------------------------------------------------------------*/
/*--------------------------- os_idle_demon ---------------------------------*/
+extern void rtos_idle_loop(void);
void os_idle_demon (void) {
/* The idle demon is a system thread, running when no other thread is */
/* ready to run. */
-
- for (;;) {
- /* HERE: include optional user code to be executed when no thread runs.*/
- }
+ rtos_idle_loop();
}
#if (OS_SYSTICK == 0) // Functions for alternative timer as RTX kernel timer
mbed official




