source: rtems/testsuites/psxtests/psxtimer/system.h @ c30d04d7

4.104.114.84.95
Last change on this file since c30d04d7 was 657be8f5, checked in by Joel Sherrill <joel.sherrill@…>, on 02/03/99 at 16:20:38

New files from Juan Zamorano Flores <jzamora@…>
that are part of the addition of POSIX timers.

  • 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_SPTEST
40
41#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
42#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
43
44#define CONFIGURE_POSIX_INIT_THREAD_TABLE
45
46#define CONFIGURE_MAXIMUM_POSIX_THREADS     4
47
48#define CONFIGURE_MAXIMUM_POSIX_TIMERS      4
49
50#define CONFIGURE_MAXIMUM_TIMERS            4
51
52#define CONFIGURE_MAXIMUM_POSIX_MUTEXES 2
53
54#define CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES 2
55
56
57#include <confdefs.h>
58
59/* global variables */
60
61#ifdef CONFIGURE_INIT
62#define TEST_EXTERN
63#else
64#define TEST_EXTERN extern
65#endif
66
67TEST_EXTERN pthread_t        Init_id;
68TEST_EXTERN pthread_t        Task_id;
69
70/* end of include file */
Note: See TracBrowser for help on using the repository browser.