4
* Copyright Ericsson AB 2004-2009. All Rights Reserved.
4
* Copyright Ericsson AB 2004-2010. All Rights Reserved.
6
6
* The contents of this file are subject to the Erlang Public License,
7
7
* Version 1.1, (the "License"); you may not use this file except in
8
8
* compliance with the License. You should have received a copy of the
9
9
* Erlang Public License along with this software. If not, it can be
10
10
* retrieved online at http://www.erlang.org/.
12
12
* Software distributed under the License is distributed on an "AS IS"
13
13
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
14
14
* the License for the specific language governing rights and limitations
15
15
* under the License.
20
20
/* Define to the size of pointers */
21
21
#undef ETHR_SIZEOF_PTR
23
/* Define to the size of int */
24
#undef ETHR_SIZEOF_INT
26
/* Define to the size of long */
27
#undef ETHR_SIZEOF_LONG
29
/* Define to the size of long long */
30
#undef ETHR_SIZEOF_LONG_LONG
32
/* Define to the size of __int64 */
33
#undef ETHR_SIZEOF___INT64
35
/* Define if bigendian */
23
38
/* Define if you want to disable native ethread implementations */
24
39
#undef ETHR_DISABLE_NATIVE_IMPLS
29
44
/* Define if you have pthreads */
30
45
#undef ETHR_PTHREADS
47
/* Define if you need the <nptl/pthread.h> header file. */
48
#undef ETHR_NEED_NPTL_PTHREAD_H
32
50
/* Define if you have the <pthread.h> header file. */
33
51
#undef ETHR_HAVE_PTHREAD_H
35
53
/* Define if the pthread.h header file is in pthread/mit directory. */
36
54
#undef ETHR_HAVE_MIT_PTHREAD_H
38
/* Define if you have the pthread_mutexattr_settype function. */
39
#undef ETHR_HAVE_PTHREAD_MUTEXATTR_SETTYPE
41
/* Define if you have the pthread_mutexattr_setkind_np function. */
42
#undef ETHR_HAVE_PTHREAD_MUTEXATTR_SETKIND_NP
44
/* Define if you have the pthread_atfork function. */
45
#undef ETHR_HAVE_PTHREAD_ATFORK
47
56
/* Define if you have the pthread_spin_lock function. */
48
57
#undef ETHR_HAVE_PTHREAD_SPIN_LOCK
50
/* Define if you have a pthread_rwlock implementation that can be used */
51
#undef ETHR_HAVE_PTHREAD_RWLOCK_INIT
59
/* Define if you want to force usage of pthread rwlocks */
60
#undef ETHR_FORCE_PTHREAD_RWLOCK
62
/* Define if you have the pthread_rwlockattr_setkind_np() function. */
63
#undef ETHR_HAVE_PTHREAD_RWLOCKATTR_SETKIND_NP
65
/* Define if you have the PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP rwlock
67
#undef ETHR_HAVE_PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP
69
/* Define if you have a linux futex implementation. */
70
#undef ETHR_HAVE_LINUX_FUTEX
72
/* Define if you have gcc atomic operations */
73
#undef ETHR_HAVE_GCC_ATOMIC_OPS
75
/* Define if you prefer gcc native ethread implementations */
76
#undef ETHR_PREFER_GCC_NATIVE_IMPLS
78
/* Define if you have the <sched.h> header file. */
79
#undef ETHR_HAVE_SCHED_H
81
/* Define if you have the sched_yield() function. */
82
#undef ETHR_HAVE_SCHED_YIELD
84
/* Define if you have the pthread_yield() function. */
85
#undef ETHR_HAVE_PTHREAD_YIELD
87
/* Define if pthread_yield() returns an int. */
88
#undef ETHR_PTHREAD_YIELD_RET_INT
90
/* Define if sched_yield() returns an int. */
91
#undef ETHR_SCHED_YIELD_RET_INT
93
/* Define if you want compatibilty with x86 processors before pentium4. */
94
#undef ETHR_PRE_PENTIUM4_COMPAT
96
/* Define if you have the pthread_rwlockattr_setkind_np() function. */
97
#undef ETHR_HAVE_PTHREAD_RWLOCKATTR_SETKIND_NP
99
/* Define if you have the PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP rwlock
101
#undef ETHR_HAVE_PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP
103
/* Define if you have gcc atomic operations */
104
#undef ETHR_HAVE_GCC_ATOMIC_OPS
106
/* Define if you prefer gcc native ethread implementations */
107
#undef ETHR_PREFER_GCC_NATIVE_IMPLS
109
/* Define if you have libatomic_ops atomic operations */
110
#undef ETHR_HAVE_LIBATOMIC_OPS
112
/* Define if you prefer libatomic_ops native ethread implementations */
113
#undef ETHR_PREFER_LIBATOMIC_OPS_NATIVE_IMPLS
115
/* Define to the size of AO_t if libatomic_ops is used */
116
#undef ETHR_SIZEOF_AO_T
118
/* Define if you have _InterlockedCompareExchange64() */
119
#undef ETHR_HAVE__INTERLOCKEDCOMPAREEXCHANGE64
121
/* Define if you have _InterlockedDecrement64() */
122
#undef ETHR_HAVE__INTERLOCKEDDECREMENT64
124
/* Define if you have _InterlockedIncrement64() */
125
#undef ETHR_HAVE__INTERLOCKEDINCREMENT64
127
/* Define if you have _InterlockedExchangeAdd64() */
128
#undef ETHR_HAVE__INTERLOCKEDEXCHANGEADD64
130
/* Define if you have _InterlockedExchange64() */
131
#undef ETHR_HAVE__INTERLOCKEDEXCHANGE64
133
/* Define if you have _InterlockedAnd64() */
134
#undef ETHR_HAVE__INTERLOCKEDAND64
136
/* Define if you have _InterlockedOr64() */
137
#undef ETHR_HAVE__INTERLOCKEDOR64
53
139
/* Define if you want to turn on extra sanity checking in the ethread library */