mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-06 15:29:31 +03:00
remove atomic_iread
This commit is contained in:
parent
3d8c331a1c
commit
f0a12699c2
1 changed files with 0 additions and 3 deletions
|
@ -114,9 +114,6 @@ static inline void* mi_atomic_exchange_ptr(volatile _Atomic(void*)* p, void* exc
|
||||||
return (void*)mi_atomic_exchange((volatile _Atomic(uintptr_t)*)p, (uintptr_t)exchange);
|
return (void*)mi_atomic_exchange((volatile _Atomic(uintptr_t)*)p, (uintptr_t)exchange);
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline intptr_t mi_atomic_iread(volatile intptr_t* p) {
|
|
||||||
return (intptr_t)mi_atomic_read( (volatile uintptr_t*)p );
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
|
|
Loading…
Add table
Reference in a new issue