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