Commit 2cdadc64 authored by Sam Lantinga's avatar Sam Lantinga

Tweak for documentation

parent 64ac3260
...@@ -123,9 +123,10 @@ extern DECLSPEC void SDLCALL SDL_AtomicUnlock(SDL_SpinLock *lock); ...@@ -123,9 +123,10 @@ extern DECLSPEC void SDLCALL SDL_AtomicUnlock(SDL_SpinLock *lock);
/*@}*//*SDL AtomicLock*/ /*@}*//*SDL AtomicLock*/
/* The compiler barrier prevents the compiler from reordering /**
reads and writes to globally visible variables across the call. * The compiler barrier prevents the compiler from reordering
*/ * reads and writes to globally visible variables across the call.
*/
#ifdef _MSC_VER #ifdef _MSC_VER
void _ReadWriteBarrier(void); void _ReadWriteBarrier(void);
#pragma intrinsic(_ReadWriteBarrier) #pragma intrinsic(_ReadWriteBarrier)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment