4.104.114.84.95
Rev | Line | |
---|
[e099180] | 1 | /* Preempt_task |
---|
| 2 | * |
---|
| 3 | * This routine serves as a test task. It verifies the task manager. |
---|
| 4 | * |
---|
| 5 | * Input parameters: |
---|
| 6 | * argument - task argument |
---|
| 7 | * |
---|
| 8 | * Output parameters: NONE |
---|
| 9 | * |
---|
| 10 | * COPYRIGHT (c) 1989-1998. |
---|
| 11 | * On-Line Applications Research Corporation (OAR). |
---|
| 12 | * Copyright assigned to U.S. Government, 1994. |
---|
| 13 | * |
---|
| 14 | * The license and distribution terms for this file may be |
---|
| 15 | * found in the file LICENSE in this distribution or at |
---|
| 16 | * http://www.OARcorp.com/rtems/license.html. |
---|
| 17 | * |
---|
| 18 | * $Id$ |
---|
| 19 | */ |
---|
| 20 | |
---|
| 21 | #include <assert.h> |
---|
| 22 | #include "system.h" |
---|
| 23 | |
---|
| 24 | void Preempt_task() |
---|
| 25 | { |
---|
| 26 | ER status; |
---|
| 27 | |
---|
| 28 | puts( "PREEMPT - exd_tsk" ); |
---|
| 29 | exd_tsk( ); |
---|
| 30 | assert( 0 ); |
---|
| 31 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.