source: rtems/c/src/tests/psxtests/psxtimer/system.h @ af9b39e

Last change on this file since af9b39e was af9b39e, checked in by Joel Sherrill <joel.sherrill@…>, on 05/04/00 at 20:49:22

Renamed the CONFIGURE_TEST_NEEDS configuration constants to
CONFIGURE_APPLICATION_NEEDS.

  • Property mode set to 100644
File size: 1.2 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 *  The license and distribution terms for this file may be
7 *  found in the file LICENSE in this distribution or at
8 *  http://www.OARcorp.com/rtems/license.html.
9 *
10 *  system.h,v 1.9 1996/08/09 18:48:33 joel Exp
11 */
12
13/* functions */
14
15#include <pmacros.h>
16#include <unistd.h>
17#include <errno.h>
18#include <sched.h>
19
20void *POSIX_Init (
21  void *arg
22);
23
24void *task_a(
25  void *arg
26);
27
28void *task_b(
29  void *arg
30);
31
32void *task_c(
33  void *arg
34);
35
36
37/* configuration information */
38
39#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
40#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
41
42#define CONFIGURE_POSIX_INIT_THREAD_TABLE
43
44#define CONFIGURE_MAXIMUM_POSIX_THREADS     4
45
46#define CONFIGURE_MAXIMUM_POSIX_TIMERS      4
47
48#define CONFIGURE_MAXIMUM_TIMERS            4
49
50#define CONFIGURE_MAXIMUM_POSIX_MUTEXES 2
51
52#define CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES 2
53
54
55#include <confdefs.h>
56
57/* global variables */
58
59#ifdef CONFIGURE_INIT
60#define TEST_EXTERN
61#else
62#define TEST_EXTERN extern
63#endif
64
65TEST_EXTERN pthread_t        Init_id;
66TEST_EXTERN pthread_t        Task_id;
67
68/* end of include file */
Note: See TracBrowser for help on using the repository browser.