source: rtems/testsuites/psxtests/psxtimer/system.h @ 80450c7

4.104.114.84.95
Last change on this file since 80450c7 was 80450c7, checked in by Ralf Corsepius <ralf.corsepius@…>, on 04/01/04 at 15:16:20
  • psx01/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
  • psx02/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
  • psx03/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
  • psx04/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
  • psx05/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
  • psx06/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
  • psx07/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
  • psx08/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
  • psx09/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
  • psx10/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
  • psx11/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
  • psx12/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
  • psx13/main.c: Include <rtems/confdefs.h> instead of <confdefs.h>.
  • psxcancel/init.c: Include <rtems/confdefs.h> instead of <confdefs.h>.
  • psxchroot01/main.c: Include <rtems/confdefs.h> instead of <confdefs.h>.
  • psxfile01/main.c: Include <rtems/confdefs.h> instead of <confdefs.h>.
  • psxmount/main.c: Include <rtems/confdefs.h> instead of <confdefs.h>.
  • psxmsgq01/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
  • psxreaddir/main.c: Include <rtems/confdefs.h> instead of <confdefs.h>.
  • psxsem01/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
  • psxstat/main.c: Include <rtems/confdefs.h> instead of <confdefs.h>.
  • psxtime/main.c: Include <rtems/confdefs.h> instead of <confdefs.h>.
  • psxtimer/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
  • 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.rtems.com/license/LICENSE.
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#define CONFIGURE_MAXIMUM_POSIX_TIMERS              4
46#define CONFIGURE_MAXIMUM_TIMERS                    4
47#define CONFIGURE_MAXIMUM_POSIX_MUTEXES             2
48#define CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES 2
49
50
51#include <rtems/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;
63
64/* end of include file */
Note: See TracBrowser for help on using the repository browser.