summaryrefslogtreecommitdiffstats
path: root/include/jemalloc/jemalloc_defs.h.in
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2012-04-17 20:17:54 (GMT)
committerJason Evans <jasone@canonware.com>2012-04-17 20:27:39 (GMT)
commitb57d3ec571c6551231be62b7bf92c084a8c8291c (patch)
tree626ed6c5b2b55e08e3772e94a121f812b356d181 /include/jemalloc/jemalloc_defs.h.in
parent45f208e112fcb82e0c98d572fc34259d65d6b6c1 (diff)
downloadjemalloc-b57d3ec571c6551231be62b7bf92c084a8c8291c.zip
jemalloc-b57d3ec571c6551231be62b7bf92c084a8c8291c.tar.gz
jemalloc-b57d3ec571c6551231be62b7bf92c084a8c8291c.tar.bz2
Add atomic(9) implementations of atomic operations.
Add atomic(9) implementations of atomic operations. These are used on FreeBSD for non-x86 architectures.
Diffstat (limited to 'include/jemalloc/jemalloc_defs.h.in')
-rw-r--r--include/jemalloc/jemalloc_defs.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/jemalloc/jemalloc_defs.h.in b/include/jemalloc/jemalloc_defs.h.in
index b6e5593..90baa35 100644
--- a/include/jemalloc/jemalloc_defs.h.in
+++ b/include/jemalloc/jemalloc_defs.h.in
@@ -47,6 +47,9 @@
*/
#undef CPU_SPINWAIT
+/* Defined if the equivalent of FreeBSD's atomic(9) functions are available. */
+#undef JEMALLOC_ATOMIC9
+
/*
* Defined if OSAtomic*() functions are available, as provided by Darwin, and
* documented in the atomic(3) manual page.