Deprecate OSSpinLock.
This commit is contained in:
@@ -25,7 +25,7 @@ extern "C" {
|
||||
|
||||
#include "test/jemalloc_test_defs.h"
|
||||
|
||||
#ifdef JEMALLOC_OSSPIN
|
||||
#if defined(JEMALLOC_OSATOMIC)
|
||||
# include <libkern/OSAtomic.h>
|
||||
#endif
|
||||
|
||||
|
@@ -10,8 +10,6 @@ typedef struct {
|
||||
CRITICAL_SECTION lock;
|
||||
#elif (defined(JEMALLOC_OS_UNFAIR_LOCK))
|
||||
os_unfair_lock lock;
|
||||
#elif (defined(JEMALLOC_OSSPIN))
|
||||
OSSpinLock lock;
|
||||
#else
|
||||
pthread_mutex_t lock;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user