source: rtems/testsuites/psxtests/psx07/system.h @ 01618ccc

4.104.114.95
Last change on this file since 01618ccc was 01618ccc, checked in by Jennifer Averett <Jennifer.Averett@…>, on 01/29/08 at 19:00:38

2008-01-29 Jennifer Averett <jennifer.averett@…>

  • psx07/init.c, psx07/system.h: Test cleanup and added testing for pthread_attr_[get|set]clock.
  • Property mode set to 100644
File size: 975 bytes
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.com/license/LICENSE.
12 *
13 *  $Id$
14 */
15
16/* functions */
17
18#include <pmacros.h>
19
20void *POSIX_Init(
21  void *argument
22);
23
24void *Task_1(
25  void *argument
26);
27
28/* configuration information */
29
30#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
31#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
32
33#define CONFIGURE_MAXIMUM_POSIX_THREADS     3
34
35#define CONFIGURE_POSIX_INIT_THREAD_TABLE
36
37#include <rtems/confdefs.h>
38
39/* global variables */
40
41#ifdef CONFIGURE_INIT
42#define TEST_EXTERN
43#else
44#define TEST_EXTERN extern
45#endif
46
47TEST_EXTERN pthread_t        Init_id;
48TEST_EXTERN pthread_t        Task_id;
49
50#undef TEST_EXTERN
51
52/* end of include file */
Note: See TracBrowser for help on using the repository browser.