Tweak for documentation

This commit is contained in:
Sam Lantinga 2011-02-01 11:53:29 -08:00
parent 64ac326041
commit 2cdadc64b5

View file

@ -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)