Official mbed Real Time Operating System based on the RTX implementation of the CMSIS-RTOS API open standard.
Fork of mbed-rtos by
rtos/rtos_idle.h@111:de54bc598ef1, 2016-04-29 (annotated)
- Committer:
- acarter2
- Date:
- Fri Apr 29 14:04:02 2016 +0000
- Revision:
- 111:de54bc598ef1
- Parent:
- 107:bdd541595fc5
current code 2;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mbed_official | 107:bdd541595fc5 | 1 | /* mbed Microcontroller Library |
mbed_official | 107:bdd541595fc5 | 2 | * Copyright (c) 2006-2012 ARM Limited |
mbed_official | 107:bdd541595fc5 | 3 | * |
mbed_official | 107:bdd541595fc5 | 4 | * Permission is hereby granted, free of charge, to any person obtaining a copy |
mbed_official | 107:bdd541595fc5 | 5 | * of this software and associated documentation files (the "Software"), to deal |
mbed_official | 107:bdd541595fc5 | 6 | * in the Software without restriction, including without limitation the rights |
mbed_official | 107:bdd541595fc5 | 7 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
mbed_official | 107:bdd541595fc5 | 8 | * copies of the Software, and to permit persons to whom the Software is |
mbed_official | 107:bdd541595fc5 | 9 | * furnished to do so, subject to the following conditions: |
mbed_official | 107:bdd541595fc5 | 10 | * |
mbed_official | 107:bdd541595fc5 | 11 | * The above copyright notice and this permission notice shall be included in |
mbed_official | 107:bdd541595fc5 | 12 | * all copies or substantial portions of the Software. |
mbed_official | 107:bdd541595fc5 | 13 | * |
mbed_official | 107:bdd541595fc5 | 14 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
mbed_official | 107:bdd541595fc5 | 15 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
mbed_official | 107:bdd541595fc5 | 16 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
mbed_official | 107:bdd541595fc5 | 17 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
mbed_official | 107:bdd541595fc5 | 18 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
mbed_official | 107:bdd541595fc5 | 19 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
mbed_official | 107:bdd541595fc5 | 20 | * SOFTWARE. |
mbed_official | 107:bdd541595fc5 | 21 | */ |
mbed_official | 107:bdd541595fc5 | 22 | #ifndef RTOS_IDLE_H |
mbed_official | 107:bdd541595fc5 | 23 | #define RTOS_IDLE_H |
mbed_official | 107:bdd541595fc5 | 24 | |
mbed_official | 107:bdd541595fc5 | 25 | #include <stddef.h> |
mbed_official | 107:bdd541595fc5 | 26 | |
mbed_official | 107:bdd541595fc5 | 27 | #ifdef __cplusplus |
mbed_official | 107:bdd541595fc5 | 28 | extern "C" { |
mbed_official | 107:bdd541595fc5 | 29 | #endif |
mbed_official | 107:bdd541595fc5 | 30 | |
mbed_official | 107:bdd541595fc5 | 31 | void rtos_attach_idle_hook(void (*fptr)(void)); |
mbed_official | 107:bdd541595fc5 | 32 | |
mbed_official | 107:bdd541595fc5 | 33 | #ifdef __cplusplus |
mbed_official | 107:bdd541595fc5 | 34 | } |
mbed_official | 107:bdd541595fc5 | 35 | #endif |
mbed_official | 107:bdd541595fc5 | 36 | |
mbed_official | 107:bdd541595fc5 | 37 | #endif |