aboutsummaryrefslogtreecommitdiffstats
path: root/erts/include/internal/ethread_header_config.h.in
blob: 8c6fbc1fdd420898caf0d6d8e3d3a44d1a43eb7f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
/*
 * %CopyrightBegin%
 *
 * Copyright Ericsson AB 2004-2010. All Rights Reserved.
 *
 * The contents of this file are subject to the Erlang Public License,
 * Version 1.1, (the "License"); you may not use this file except in
 * compliance with the License. You should have received a copy of the
 * Erlang Public License along with this software. If not, it can be
 * retrieved online at http://www.erlang.org/.
 *
 * Software distributed under the License is distributed on an "AS IS"
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
 * the License for the specific language governing rights and limitations
 * under the License.
 *
 * %CopyrightEnd%
 */

/* Define to the size of pointers */
#undef ETHR_SIZEOF_PTR

/* Define to the size of int */
#undef ETHR_SIZEOF_INT

/* Define to the size of long */
#undef ETHR_SIZEOF_LONG

/* Define to the size of long long */
#undef ETHR_SIZEOF_LONG_LONG

/* Define if you want to disable native ethread implementations */
#undef ETHR_DISABLE_NATIVE_IMPLS

/* Define if you have win32 threads */
#undef ETHR_WIN32_THREADS

/* Define if you have pthreads */
#undef ETHR_PTHREADS

/* Define if you need the <nptl/pthread.h> header file. */
#undef ETHR_NEED_NPTL_PTHREAD_H

/* Define if you have the <pthread.h> header file. */
#undef ETHR_HAVE_PTHREAD_H

/* Define if the pthread.h header file is in pthread/mit directory. */
#undef ETHR_HAVE_MIT_PTHREAD_H

/* Define if you have the pthread_spin_lock function. */
#undef ETHR_HAVE_PTHREAD_SPIN_LOCK

/* Define if you want to force usage of pthread rwlocks */
#undef ETHR_FORCE_PTHREAD_RWLOCK

/* Define if you have the pthread_rwlockattr_setkind_np() function. */
#undef ETHR_HAVE_PTHREAD_RWLOCKATTR_SETKIND_NP

/* Define if you have the PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP rwlock
   attribute. */
#undef ETHR_HAVE_PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP

/* Define if you have a linux futex implementation. */
#undef ETHR_HAVE_LINUX_FUTEX

/* Define if you have gcc atomic operations */
#undef ETHR_HAVE_GCC_ATOMIC_OPS

/* Define if you prefer gcc native ethread implementations */
#undef ETHR_PREFER_GCC_NATIVE_IMPLS

/* Define if you have the <sched.h> header file. */
#undef ETHR_HAVE_SCHED_H

/* Define if you have the sched_yield() function. */
#undef ETHR_HAVE_SCHED_YIELD

/* Define if you have the pthread_yield() function. */
#undef ETHR_HAVE_PTHREAD_YIELD

/* Define if pthread_yield() returns an int. */
#undef ETHR_PTHREAD_YIELD_RET_INT

/* Define if sched_yield() returns an int. */
#undef ETHR_SCHED_YIELD_RET_INT

/* Define if you want compatibilty with x86 processors before pentium4. */
#undef ETHR_PRE_PENTIUM4_COMPAT

/* Define if you have the pthread_rwlockattr_setkind_np() function. */
#undef ETHR_HAVE_PTHREAD_RWLOCKATTR_SETKIND_NP

/* Define if you have the PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP rwlock
   attribute. */
#undef ETHR_HAVE_PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP

/* Define if you have gcc atomic operations */
#undef ETHR_HAVE_GCC_ATOMIC_OPS

/* Define if you prefer gcc native ethread implementations */
#undef ETHR_PREFER_GCC_NATIVE_IMPLS

/* Define if you have libatomic_ops atomic operations */
#undef ETHR_HAVE_LIBATOMIC_OPS

/* Define if you prefer libatomic_ops native ethread implementations */
#undef ETHR_PREFER_LIBATOMIC_OPS_NATIVE_IMPLS

/* Define to the size of AO_t if libatomic_ops is used */
#undef ETHR_SIZEOF_AO_T

/* Define if you want to turn on extra sanity checking in the ethread library */
#undef ETHR_XCHK