4.104.114.84.95
Line | |
---|
1 | /* system.h |
---|
2 | * |
---|
3 | * This include file contains information that is included in every |
---|
4 | * function in the test set. |
---|
5 | * |
---|
6 | * COPYRIGHT (c) 1989-1998. |
---|
7 | * On-Line Applications Research Corporation (OAR). |
---|
8 | * Copyright assigned to U.S. Government, 1994. |
---|
9 | * |
---|
10 | * The license and distribution terms for this file may be |
---|
11 | * found in the file LICENSE in this distribution or at |
---|
12 | * http://www.OARcorp.com/rtems/license.html. |
---|
13 | * |
---|
14 | * $Id$ |
---|
15 | */ |
---|
16 | |
---|
17 | /* functions */ |
---|
18 | |
---|
19 | #include <pmacros.h> |
---|
20 | |
---|
21 | void *POSIX_Init( |
---|
22 | void *argument |
---|
23 | ); |
---|
24 | |
---|
25 | void *Task_1( |
---|
26 | void *argument |
---|
27 | ); |
---|
28 | |
---|
29 | void *Task_2( |
---|
30 | void *argument |
---|
31 | ); |
---|
32 | |
---|
33 | /* configuration information */ |
---|
34 | |
---|
35 | #define CONFIGURE_SPTEST |
---|
36 | |
---|
37 | #define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER |
---|
38 | #define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER |
---|
39 | |
---|
40 | #define CONFIGURE_POSIX_INIT_THREAD_TABLE |
---|
41 | |
---|
42 | #define CONFIGURE_MAXIMUM_POSIX_KEYS 1 |
---|
43 | |
---|
44 | #include <confdefs.h> |
---|
45 | |
---|
46 | /* global variables */ |
---|
47 | |
---|
48 | #ifdef CONFIGURE_INIT |
---|
49 | #define TEST_EXTERN |
---|
50 | #else |
---|
51 | #define TEST_EXTERN extern |
---|
52 | #endif |
---|
53 | |
---|
54 | TEST_EXTERN pthread_t Init_id; |
---|
55 | TEST_EXTERN pthread_t Task_id; |
---|
56 | TEST_EXTERN pthread_t Task2_id; |
---|
57 | TEST_EXTERN pthread_key_t Key_id; |
---|
58 | TEST_EXTERN rtems_unsigned32 Data_array[ CONFIGURE_MAXIMUM_POSIX_THREADS ]; |
---|
59 | TEST_EXTERN rtems_unsigned32 Destructor_invoked; |
---|
60 | |
---|
61 | /* end of include file */ |
---|
Note: See
TracBrowser
for help on using the repository browser.