Ticket #1069: interlocked.patch
File interlocked.patch, 819 bytes (added by , 15 years ago) |
---|
-
boost/detail/interlocked.hpp
52 52 extern "C" long __cdecl _InterlockedIncrement( long volatile * ); 53 53 extern "C" long __cdecl _InterlockedDecrement( long volatile * ); 54 54 extern "C" long __cdecl _InterlockedCompareExchange( long volatile *, long, long ); 55 extern "C" long __cdecl _InterlockedExchange( long volatile *, long);56 extern "C" long __cdecl _InterlockedExchangeAdd( long volatile *, long);55 extern "C" long __cdecl _InterlockedExchange( long * volatile, long); 56 extern "C" long __cdecl _InterlockedExchangeAdd( long * volatile, long); 57 57 58 58 # pragma intrinsic( _InterlockedIncrement ) 59 59 # pragma intrinsic( _InterlockedDecrement )