1 /* 2 * Copyright (c) 2002, Intel Corporation. All rights reserved. 3 * Created by: rolla.n.selbak REMOVE-THIS AT intel DOT com 4 * This file is licensed under the GPL license. For the full content 5 * of this license, see the COPYING file at the top level of this 6 * source tree. 7 8 Test the following symbols are defined by pthread.h 9 */ 10 11 #include <pthread.h> 12 13 #ifndef PTHREAD_CANCEL_ASYNCHRONOUS 14 #error PTHREAD_CANCEL_ASYNCHRONOUS not defined 15 #endif 16 17 #ifndef PTHREAD_CANCEL_ENABLE 18 #error PTHREAD_CANCEL_ENABLE not defined 19 #endif 20 21 #ifndef PTHREAD_CANCEL_DEFERRED 22 #error PTHREAD_CANCEL_DEFERRED not defined 23 #endif 24 25 #ifndef PTHREAD_CANCEL_DISABLE 26 #error PTHREAD_CANCEL_DISABLE not defined 27 #endif 28 29 #ifndef PTHREAD_CANCELED 30 #error PTHREAD_CANCELED not defined 31 #endif 32 33 #ifndef PTHREAD_COND_INITIALIZER 34 #error PTHREAD_COND_INTIALIZER not defined 35 #endif 36 37 #ifndef PTHREAD_CREATE_DETACHED 38 #error PTHREAD_CREATE_DETACHED not defined 39 #endif 40 41 #ifndef PTHREAD_CREATE_JOINABLE 42 #error PTHREAD_CREATE_JOINABLE not defined 43 #endif 44 45 #ifndef PTHREAD_EXPLICIT_SCHED 46 #error PTHREAD_EXPLICIT_SCHED not defined 47 #endif 48 49 #ifndef PTHREAD_INHERIT_SCHED 50 #error PTHREAD_INHERIT_SCHED not defined 51 #endif 52 53 #ifndef PTHREAD_MUTEX_INITIALIZER 54 #error PTHREAD_MUTEX_INITIALIZED not defined 55 #endif 56 57 #ifndef PTHREAD_ONCE_INIT 58 #error PTHREAD_ONCE_INIT not defined 59 #endif 60 61 #ifndef PTHREAD_PROCESS_SHARED 62 #error PTHREAD_PROCESS_SHARED not defined 63 #endif 64 65 #ifndef PTHREAD_PROCESS_PRIVATE 66 #error PTHREAD_PROCESS_PRIVATE not defined 67 #endif 68