source: rtems/testsuites/mptests/mp03/delay.c @ f68401e

4.115
Last change on this file since f68401e was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

  • Property mode set to 100644
File size: 818 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
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  ignored_id,
25  void     *ignored_address
26)
27{
28  rtems_status_code status;
29
30  status = rtems_event_send( Task_id[ 1 ], RTEMS_EVENT_16 );
31  if ( status ) printk( "Delayed_send_event failed %d\n", status );
32  // directive_failed_with_level( status, "rtems_event_send", 1 );
33}
Note: See TracBrowser for help on using the repository browser.