Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Tweak for documentation

  • Loading branch information
slouken committed Feb 1, 2011
1 parent fa83b0e commit 720d6e7a718755c74fa6d68a0c0c8b5903727349
Showing with 4 additions and 3 deletions.
  1. +4 −3 include/SDL_atomic.h
@@ -123,9 +123,10 @@ extern DECLSPEC void SDLCALL SDL_AtomicUnlock(SDL_SpinLock *lock);
/*@}*//*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
void _ReadWriteBarrier(void);
#pragma intrinsic(_ReadWriteBarrier)

0 comments on commit 720d6e7

Please sign in to comment.