source: rtems/testsuites/psxtests/psx10/system.h @ c94eb25

4.104.114.84.95
Last change on this file since c94eb25 was 08311cc3, checked in by Joel Sherrill <joel.sherrill@…>, on 11/17/99 at 17:51:34

Updated copyright notice.

  • Property mode set to 100644
File size: 1.3 KB
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-1999.
7 *  On-Line Applications Research Corporation (OAR).
8 *
9 *  The license and distribution terms for this file may be
10 *  found in the file LICENSE in this distribution or at
11 *  http://www.OARcorp.com/rtems/license.html.
12 *
13 *  $Id$
14 */
15
16/* functions */
17
18#include <pmacros.h>
19#include <unistd.h>
20#include <errno.h>
21
22void *POSIX_Init(
23  void *argument
24);
25
26void *Task_1(
27  void *argument
28);
29
30void *Task_2(
31  void *argument
32);
33
34void *Task_3(
35  void *argument
36);
37
38/* configuration information */
39
40#define CONFIGURE_SPTEST
41
42#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
43#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
44
45#define CONFIGURE_POSIX_INIT_THREAD_TABLE
46
47#define CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES  1
48
49#define CONFIGURE_MAXIMUM_POSIX_MUTEXES  2
50
51#include <confdefs.h>
52
53/* global variables */
54
55#ifdef CONFIGURE_INIT
56#define TEST_EXTERN
57#else
58#define TEST_EXTERN extern
59#endif
60
61TEST_EXTERN pthread_t        Init_id;
62TEST_EXTERN pthread_t        Task_id;
63TEST_EXTERN pthread_t        Task2_id;
64TEST_EXTERN pthread_t        Task3_id;
65TEST_EXTERN pthread_cond_t   Cond1_id;
66TEST_EXTERN pthread_mutex_t  Mutex_id;
67
68/* end of include file */
Note: See TracBrowser for help on using the repository browser.