source: rtems/testsuites/mptests/mp14/delay.c @ df40cc9

4.115
Last change on this file since df40cc9 was c499856, checked in by Chris Johns <chrisj@…>, on Mar 20, 2014 at 9:10:47 PM

Change all references of rtems.com to rtems.org.

  • Property mode set to 100644
File size: 797 bytes
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.org/license/LICENSE.
15 */
16
17#ifdef HAVE_CONFIG_H
18#include "config.h"
19#endif
20
21#include "system.h"
22
23rtems_timer_service_routine Delayed_send_event(
24  rtems_id  timer_id,
25  void     *id_ptr
26)
27{
28  rtems_status_code status;
29  rtems_id          id = *(rtems_id *)id_ptr;
30
31  status = rtems_event_send( id, RTEMS_EVENT_16 );
32  fatal_directive_check_status_only(
33    status, RTEMS_SUCCESSFUL, "rtems_event_send" );
34}
Note: See TracBrowser for help on using the repository browser.