source: rtems/testsuites/sptests/sp07/taskexit.c @ 8fbdf07

4.104.114.84.95
Last change on this file since 8fbdf07 was 08311cc3, checked in by Joel Sherrill <joel.sherrill@…>, on 11/17/99 at 17:51:34

Updated copyright notice.

  • Property mode set to 100644
File size: 748 bytes
Line 
1/*  Task_exit_extension
2 *
3 *  This routine is the task exitted user extension.
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.OARcorp.com/rtems/license.html.
15 *
16 *  $Id$
17 */
18
19#include "system.h"
20
21rtems_extension Task_exit_extension(
22  rtems_tcb *running_task
23)
24{
25  if ( task_number( running_task->Object.id ) > 0 ) {
26    puts_nocr( "RTEMS_TASK_EXITTED - extension invoked for " );
27    put_name( Task_name[ task_number( running_task->Object.id ) ], TRUE );
28  }
29
30  puts("*** END OF TEST 7 ***" );
31  exit( 0 );
32}
Note: See TracBrowser for help on using the repository browser.