4.104.114.84.95
Last change
on this file since 3adf786 was
54e34e7,
checked in by Joel Sherrill <joel.sherrill@…>, on 08/08/96 at 23:02:13
|
new test to test scheduling policy and paremeter paths in pthread_create.
|
-
Property mode set to
100644
|
File size:
837 bytes
|
Line | |
---|
1 | /* Task_1 |
---|
2 | * |
---|
3 | * This routine serves as a test task. It verifies the basic task |
---|
4 | * switching capabilities of the executive. |
---|
5 | * |
---|
6 | * Input parameters: |
---|
7 | * argument - task argument |
---|
8 | * |
---|
9 | * Output parameters: NONE |
---|
10 | * |
---|
11 | * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994. |
---|
12 | * On-Line Applications Research Corporation (OAR). |
---|
13 | * All rights assigned to U.S. Government, 1994. |
---|
14 | * |
---|
15 | * This material may be reproduced by or for the U.S. Government pursuant |
---|
16 | * to the copyright license under the clause at DFARS 252.227-7013. This |
---|
17 | * notice must appear in all copies of this file and its derivatives. |
---|
18 | * |
---|
19 | * $Id$ |
---|
20 | */ |
---|
21 | |
---|
22 | #include "system.h" |
---|
23 | #include <time.h> |
---|
24 | #include <sched.h> |
---|
25 | |
---|
26 | void *Task_1( |
---|
27 | void *argument |
---|
28 | ) |
---|
29 | { |
---|
30 | puts( "Task_1: exitting" ); |
---|
31 | pthread_exit( NULL ); |
---|
32 | |
---|
33 | return NULL; /* just so the compiler thinks we returned something */ |
---|
34 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.