Add a C11 atomics-based implementation of atomic.h API.

This commit is contained in:
Chih-hung Hsieh
2014-12-05 17:42:41 -08:00
committed by Jason Evans
parent a18c2b1f15
commit 59cd80e6c6
4 changed files with 56 additions and 0 deletions

View File

@@ -22,6 +22,9 @@
*/
#undef CPU_SPINWAIT
/* Defined if C11 atomics are available. */
#undef JEMALLOC_C11ATOMICS
/* Defined if the equivalent of FreeBSD's atomic(9) functions are available. */
#undef JEMALLOC_ATOMIC9