4.115
Line | |
---|
1 | /* Delayed_send_event |
---|
2 | * |
---|
3 | * This routine is a timer service routine which sends an event to a task. |
---|
4 | * |
---|
5 | * Input parameters: NONE |
---|
6 | * |
---|
7 | * Output parameters: NONE |
---|
8 | * |
---|
9 | * COPYRIGHT (c) 1989-2008. |
---|
10 | * On-Line Applications Research Corporation (OAR). |
---|
11 | * |
---|
12 | * The license and distribution terms for this file may be |
---|
13 | * found in the file LICENSE in this distribution or at |
---|
14 | * http://www.rtems.com/license/LICENSE. |
---|
15 | * |
---|
16 | * $Id$ |
---|
17 | */ |
---|
18 | |
---|
19 | #ifdef HAVE_CONFIG_H |
---|
20 | #include "config.h" |
---|
21 | #endif |
---|
22 | |
---|
23 | #include "system.h" |
---|
24 | |
---|
25 | rtems_timer_service_routine Delayed_send_event( |
---|
26 | rtems_id timer_id, |
---|
27 | void *id_ptr |
---|
28 | ) |
---|
29 | { |
---|
30 | rtems_status_code status; |
---|
31 | rtems_id id = *(rtems_id *)id_ptr; |
---|
32 | |
---|
33 | status = rtems_event_send( id, RTEMS_EVENT_16 ); |
---|
34 | fatal_directive_check_status_only( |
---|
35 | status, RTEMS_SUCCESSFUL, "rtems_event_send" ); |
---|
36 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.