4.104.114.84.95
Rev | Line | |
---|
[7e811af1] | 1 | /* system.h |
---|
| 2 | * |
---|
| 3 | * This include file contains information that is included in every |
---|
| 4 | * function in the test set. |
---|
| 5 | * |
---|
[60b791ad] | 6 | * COPYRIGHT (c) 1989-1998. |
---|
[7e811af1] | 7 | * On-Line Applications Research Corporation (OAR). |
---|
[03f2154e] | 8 | * Copyright assigned to U.S. Government, 1994. |
---|
[7e811af1] | 9 | * |
---|
[98e4ebf5] | 10 | * The license and distribution terms for this file may be |
---|
| 11 | * found in the file LICENSE in this distribution or at |
---|
[03f2154e] | 12 | * http://www.OARcorp.com/rtems/license.html. |
---|
[7e811af1] | 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 10 |
---|
| 43 | #define CONFIGURE_MAXIMUM_POSIX_MUTEXES 10 |
---|
| 44 | |
---|
| 45 | #include <confdefs.h> |
---|
| 46 | |
---|
| 47 | /* global variables */ |
---|
| 48 | |
---|
| 49 | #ifdef CONFIGURE_INIT |
---|
| 50 | #define TEST_EXTERN |
---|
| 51 | #else |
---|
| 52 | #define TEST_EXTERN extern |
---|
| 53 | #endif |
---|
| 54 | |
---|
| 55 | TEST_EXTERN pthread_t Init_id; |
---|
| 56 | TEST_EXTERN pthread_mutex_t Mutex_id; |
---|
| 57 | |
---|
| 58 | /* end of include file */ |
---|
Note: See
TracBrowser
for help on using the repository browser.