5
Last change
on this file since 99de42c was
c499856,
checked in by Chris Johns <chrisj@…>, on 03/20/14 at 21:10:47
|
Change all references of rtems.com to rtems.org.
|
-
Property mode set to
100644
|
File size:
879 bytes
|
Line | |
---|
1 | /* Resume_task |
---|
2 | * |
---|
3 | * This subprogram is scheduled as a timer service routine. When |
---|
4 | * it fires it resumes the task which is mapped to this timer. |
---|
5 | * |
---|
6 | * Input parameters: NONE |
---|
7 | * |
---|
8 | * Output parameters: NONE |
---|
9 | * |
---|
10 | * COPYRIGHT (c) 1989-2008. |
---|
11 | * On-Line Applications Research Corporation (OAR). |
---|
12 | * |
---|
13 | * The license and distribution terms for this file may be |
---|
14 | * found in the file LICENSE in this distribution or at |
---|
15 | * http://www.rtems.org/license/LICENSE. |
---|
16 | */ |
---|
17 | |
---|
18 | #ifdef HAVE_CONFIG_H |
---|
19 | #include "config.h" |
---|
20 | #endif |
---|
21 | |
---|
22 | #include "system.h" |
---|
23 | |
---|
24 | rtems_timer_service_routine Resume_task( |
---|
25 | rtems_id timer_id, |
---|
26 | void *ignored_address |
---|
27 | ) |
---|
28 | { |
---|
29 | rtems_id task_to_resume; |
---|
30 | rtems_status_code status; |
---|
31 | |
---|
32 | task_to_resume = Task_id[ rtems_object_id_get_index( timer_id ) ]; |
---|
33 | status = rtems_task_resume( task_to_resume ); |
---|
34 | directive_failed_with_level( status, "rtems_task_resume", 1 ); |
---|
35 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.