source: rtems/testsuites/psxtests/psxbarrier01/main.c @ e67929c

5
Last change on this file since e67929c was e67929c, checked in by Sebastian Huber <sebastian.huber@…>, on 09/21/17 at 12:13:16

posix: Implement self-contained POSIX barriers

POSIX barriers are now available in all configurations and no longer
depend on --enable-posix.

Update #2514.
Update #3114.

  • Property mode set to 100644
File size: 1.1 KB
Line 
1/*
2 *  COPYRIGHT (c) 1989-2012.
3 *  On-Line Applications Research Corporation (OAR).
4 *
5 *  The license and distribution terms for this file may be
6 *  found in the file LICENSE in this distribution or at
7 *  http://www.rtems.org/license/LICENSE.
8 */
9
10#define CONFIGURE_INIT
11
12#ifdef HAVE_CONFIG_H
13#include "config.h"
14#endif
15
16#include <rtems/test.h>
17#include <bsp.h>
18#include <pmacros.h>
19
20/* forward declarations to avoid warnings */
21rtems_task Init(rtems_task_argument argument);
22
23void test_main( void );
24
25rtems_task Init(
26  rtems_task_argument ignored
27)
28{
29  test_main();
30  rtems_test_exit( 0 );
31}
32
33/* configuration information */
34
35#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
36#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
37
38#define CONFIGURE_MAXIMUM_TASKS 1
39#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
40
41#define CONFIGURE_MAXIMUM_POSIX_THREADS 10
42
43#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
44
45#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
46#define CONFIGURE_INIT_TASK_STACK_SIZE    (RTEMS_MINIMUM_STACK_SIZE * 2)
47
48#define CONFIGURE_INIT
49
50#include <rtems/confdefs.h>
51
52/* end of file */
Note: See TracBrowser for help on using the repository browser.