source: rtems/testsuites/psxtests/psx09/system.h @ c499856

4.115
Last change on this file since c499856 was c499856, checked in by Chris Johns <chrisj@…>, on 03/20/14 at 21:10:47

Change all references of rtems.com to rtems.org.

  • Property mode set to 100644
File size: 1.0 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.rtems.org/license/LICENSE.
12 */
13
14/* functions */
15
16#include <pmacros.h>
17
18void *POSIX_Init(
19  void *argument
20);
21
22void *Task_1(
23  void *argument
24);
25
26void *Task_2(
27  void *argument
28);
29
30/* configuration information */
31
32#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
33#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
34
35#define CONFIGURE_MAXIMUM_POSIX_THREADS   1
36#define CONFIGURE_MAXIMUM_POSIX_KEYS     10
37#define CONFIGURE_MAXIMUM_POSIX_MUTEXES  10
38
39#define CONFIGURE_POSIX_INIT_THREAD_TABLE
40
41#include <rtems/confdefs.h>
42
43/* global variables */
44
45#ifdef CONFIGURE_INIT
46#define TEST_EXTERN
47#else
48#define TEST_EXTERN extern
49#endif
50
51TEST_EXTERN pthread_t        Init_id;
52TEST_EXTERN pthread_mutex_t  Mutex_id;
53
54/* end of include file */
Note: See TracBrowser for help on using the repository browser.