It's now possible to disable the fast atomic operations, at a huge performance penalty.
This commit is contained in:
parent
8253658837
commit
8f205278b1
4 changed files with 30 additions and 1 deletions
|
@ -141,6 +141,9 @@ void _ReadWriteBarrier(void);
|
|||
/* Platform specific optimized versions of the atomic functions,
|
||||
* you can disable these by defining SDL_DISABLE_ATOMIC_INLINE
|
||||
*/
|
||||
#if SDL_ATOMIC_DISABLED
|
||||
#define SDL_DISABLE_ATOMIC_INLINE
|
||||
#endif
|
||||
#ifndef SDL_DISABLE_ATOMIC_INLINE
|
||||
|
||||
#ifdef HAVE_MSC_ATOMICS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue