1
2  /*
3 * Copyright (c) 2002, Intel Corporation. All rights reserved.
4 * Created by:  rolla.n.selbak REMOVE-THIS AT intel DOT com
5 * This file is licensed under the GPL license.  For the full content
6 * of this license, see the COPYING file at the top level of this
7 * source tree.
8
9  Test the following symbols are defined by pthread.h
10  */
11
12#include <pthread.h>
13
14/* BAR */
15#ifndef PTHREAD_BARRIER_SERIAL_THREAD
16#error PTHREAD_BARRIER_SERIAL_THREAD not defined
17#endif
18
19/* XSI */
20#ifndef PTHREAD_MUTEX_DEFAULT
21#error PTHREAD_MUTEX_DEFAULT not defined
22#endif
23
24/* XSI */
25#ifndef PTHREAD_MUTEX_ERRORCHECK
26#error PTHREAD_MUTEX_ERRORCHECK not defined
27#endif
28
29/* XSI */
30#ifndef PTHREAD_MUTEX_NORMAL
31#error PTHREAD_MUTEX_NORMAL not defined
32#endif
33
34/* XSI */
35#ifndef PTHREAD_MUTEX_RECURSIVE
36#error PTHREAD_MUTEX_RECURSIVE not defined
37#endif
38
39/* TPP|TPI */
40#ifndef PTHREAD_PRIO_INHERIT
41#error PTHREAD_PRIO_INHERIT not defined
42#endif
43
44/* TPP|TPI */
45#ifndef PTHREAD_PRIO_NONE
46#error PTHREAD_PRIO_NONE not defined
47#endif
48
49/* TPP|TPI */
50#ifndef PTHREAD_PRIO_PROTECT
51#error PTHREAD_PRIO_PROTECT not defined
52#endif
53
54/* TPS */
55#ifndef PTHREAD_SCOPE_PROCESS
56#error PTHREAD_SCOPE_PROCESS not defined
57#endif
58
59/* TPS */
60#ifndef PTHREAD_SCOPE_SYSTEM
61#error PTHREAD_SCOPE_SYSTEM not defined
62#endif
63
64