Add atomic(9) implementations of atomic operations.
Add atomic(9) implementations of atomic operations. These are used on FreeBSD for non-x86 architectures.
This commit is contained in:
@@ -161,6 +161,10 @@ static const bool config_ivsalloc =
|
||||
#endif
|
||||
;
|
||||
|
||||
#ifdef JEMALLOC_ATOMIC9
|
||||
#include <machine/atomic.h>
|
||||
#endif
|
||||
|
||||
#if (defined(JEMALLOC_OSATOMIC) || defined(JEMALLOC_OSSPIN))
|
||||
#include <libkern/OSAtomic.h>
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user