diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-06-10 20:51:31 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-06-10 20:51:31 +0000 |
commit | 1ba858d7ea090aeeace6381e6c7656e13dd0bdc7 (patch) | |
tree | c7a7c9a2b886df65554306bd3c2682bcb8197d4a /testsuites/psxtests/psx02/system.h | |
parent | new file (diff) | |
download | rtems-1ba858d7ea090aeeace6381e6c7656e13dd0bdc7.tar.bz2 |
new files.
This test does a basic checkout of signals with a thread-directed signal
(pthread_kill()) used to interrupt a nanosleep().
Diffstat (limited to 'testsuites/psxtests/psx02/system.h')
-rw-r--r-- | testsuites/psxtests/psx02/system.h | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/testsuites/psxtests/psx02/system.h b/testsuites/psxtests/psx02/system.h new file mode 100644 index 0000000000..2d0d07b32c --- /dev/null +++ b/testsuites/psxtests/psx02/system.h @@ -0,0 +1,51 @@ +/* system.h + * + * This include file contains information that is included in every + * function in the test set. + * + * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994. + * On-Line Applications Research Corporation (OAR). + * All rights assigned to U.S. Government, 1994. + * + * This material may be reproduced by or for the U.S. Government pursuant + * to the copyright license under the clause at DFARS 252.227-7013. This + * notice must appear in all copies of this file and its derivatives. + * + * $Id$ + */ + +/* functions */ + +#include <pmacros.h> + +void *POSIX_Init( + void *argument +); + +void *Task_1_through_3( + void *argument +); + +/* configuration information */ + +#define CONFIGURE_SPTEST + +#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER +#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#include <confdefs.h> + +/* global variables */ + +#ifdef CONFIGURE_INIT +#define TEST_EXTERN +#else +#define TEST_EXTERN extern +#endif + +TEST_EXTERN pthread_t Init_id; +TEST_EXTERN pthread_t Task_id; + +/* end of include file */ |