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

@@ -127,6 +127,10 @@ static const bool config_ivsalloc =
#endif
;
#ifdef JEMALLOC_C11ATOMICS
#include <stdatomic.h>
#endif
#ifdef JEMALLOC_ATOMIC9
#include <machine/atomic.h>
#endif