71 Commits (266368993625e0cfb6eef9188f8b9aa29fb97391)

Author SHA1 Message Date
Behdad Esfahbod e1a2354220 [atomic] More 6 years ago
Behdad Esfahbod 1f7380944d [atomic] Add hb_atomic_ptr_t<> and port all uses 6 years ago
Behdad Esfahbod 6e42f4c53f [atomic] Remove hb_atomic_int_impl_t now that it's always int 6 years ago
Behdad Esfahbod 1227a9e5a5 [atomic] Unify typedef 6 years ago
Behdad Esfahbod 5cd1888c9d [atomic] Change Mac atomic int type to int 6 years ago
Behdad Esfahbod e1de86eac1 [atomic] Change Windows atomic int type to int 6 years ago
Behdad Esfahbod aee2d10b2b [atomic] Change Solaris atomic int to signed 6 years ago
Behdad Esfahbod 13f4c137c6 [atomic] Fix Solaris ones to add proper barriers 6 years ago
Behdad Esfahbod 19dfaa3515 [atomic] Remove volatile from IBM impl signature 6 years ago
Behdad Esfahbod 2093a3e0cb [atomic] Oops 6 years ago
Behdad Esfahbod 19b98348ff [atomic] Use read-barrier for get() 6 years ago
Behdad Esfahbod 006d4f031a [atomic] Some more minor tweaks 6 years ago
Behdad Esfahbod dfc86e4b35 [atomic] Fix cast to fallback ptr_get() 6 years ago
Behdad Esfahbod ad27562742 [atomic] On IBM, use light-weight sync for everything 6 years ago
Behdad Esfahbod fd638d215f [atomic] Add XXX items around Solaris ops 6 years ago
Behdad Esfahbod 896ff15ae6 [atomic] Fix get() impl 6 years ago
Behdad Esfahbod 63c74e8d1d [atomic] Fix fallback impl 6 years ago
Behdad Esfahbod 4bc16aca47 [atomic] Add get_relaxed / set_relaxed 6 years ago
Behdad Esfahbod 3dd1b88765 [atomic] Use CONSUME, not ACQUIRE, memory-order for get() 6 years ago
Behdad Esfahbod 06b91d935d Revert "[atomic] Make pointer get op relaxed instead of acquire" 6 years ago
Behdad Esfahbod b1e5650c67 [atomic] Make pointer get op relaxed instead of acquire 6 years ago
Behdad Esfahbod 04b7b81bcb Reland "Implement C++11-style GCC builtin atomic ops" 6 years ago
Behdad Esfahbod 3edef5a19b Revert "Implement C++11-style GCC builtin atomic ops" 6 years ago
Behdad Esfahbod 21fa170f0b Implement C++11-style GCC builtin atomic ops 6 years ago
Behdad Esfahbod 804b59cf49 Relax C++11 atomic ops memory order to acquire-release 6 years ago
Behdad Esfahbod bda242409f Implement C++11 <atomic> operations 6 years ago
Behdad Esfahbod e36cd1dfd3 Remove trivial HB_ATOMIC_INT_INIT() 7 years ago
Bruce Mitchener 8a0952db7e atomics: Favor compiler primitives over macOS APIs. (#676) 7 years ago
Behdad Esfahbod 42d518513c Towards compiling with pre-C++11 compilers and nullptr fallback 7 years ago
Behdad Esfahbod 1817221620 Minor 8 years ago
Behdad Esfahbod 49e72634af Limit use of AIX intrinsics to IBM's compiler 9 years ago
Behdad Esfahbod 70b33edae7 Add atomic ops for AIX 9 years ago
Behdad Esfahbod 9c974360fe Minor rename 10 years ago
Behdad Esfahbod 2958f2c147 Fixup 10 years ago
Konstantin Ritt 3f174cd020 Minor refactoring to the atomics implementation 10 years ago
Behdad Esfahbod 45a8b46f47 Allow implementing atomic and mutex ops in config 10 years ago
Behdad Esfahbod db30828048 [win] Consolidate windows.h include tips and tricks 10 years ago
Behdad Esfahbod f26d59d468 More fixing MemoryBarrier() on Mingw32 10 years ago
Primiano Tucci 05870ed62e Use __aarch64__ for 64-bit ARM detection, not __arm64__ 11 years ago
Behdad Esfahbod fbb2847f54 Improve MemoryBarrier() implementation 11 years ago
Behdad Esfahbod 0bb31e4497 Bug 71845 - Use 64-bit cmpexch on ARM64 iOS 11 years ago
Behdad Esfahbod 1f97060985 Put back MemoryBarrier fallback implementation on MINGW32 12 years ago
Behdad Esfahbod 2761e8a632 [win32] Remove MemoryBarrier() fallback implementation 12 years ago
Behdad Esfahbod a6c1e040e5 Improve check for Windows platforms 12 years ago
Behdad Esfahbod b842780138 Minor 12 years ago
Behdad Esfahbod de649f07f1 Fix residuals from fontconfig changes 12 years ago
Behdad Esfahbod 2dcb333f52 Add atomic ops for Solaris 12 years ago
Behdad Esfahbod 11d2956553 Minor 12 years ago
Behdad Esfahbod 0e9f0f3e5f Fix atomic ops on iOS 12 years ago
Behdad Esfahbod 071d5b831e Work around missing OSAtomicCompareAndSwapPtrBarrier() on OS X 10.4 12 years ago