source: rtems/testsuites/mptests/mp03/delay.c @ 48e02af

4.115
Last change on this file since 48e02af was a4bc4d6e, checked in by Ralf Corsepius <ralf.corsepius@…>, on 02/22/11 at 10:00:39

Add HAVE_CONFIG_H.

  • Property mode set to 100644
File size: 830 bytes
Line 
1/*  Delayed_send_event
2 *
3 *  This routine is a timer service routine which sends an event to task 1.
4 *
5 *  Input parameters:  NONE
6 *
7 *  Output parameters:  NONE
8 *
9 *  COPYRIGHT (c) 1989-1999.
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
25rtems_timer_service_routine Delayed_send_event(
26  rtems_id  ignored_id,
27  void     *ignored_address
28)
29{
30  rtems_status_code status;
31
32  status = rtems_event_send( Task_id[ 1 ], RTEMS_EVENT_16 );
33  if ( status ) printk( "Delayed_send_event failed %d\n", status );
34  // directive_failed_with_level( status, "rtems_event_send", 1 );
35}
Note: See TracBrowser for help on using the repository browser.