Changeset 415 for trunk


Ignore:
Timestamp:
Feb 24, 2008, 9:38:29 PM (17 years ago)
Author:
NoWest
Message:

InterlockedExchangeの戻り値は変更前の値ということなので修正して置きましたが、
64bit版はどのみ新しく用意しないといけないようなので必要な修正であったかは分かりません

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Include/api_system.sbp

    r390 r415  
    242242End Function
    243243Function InterlockedExchange(ByRef Target As Long, Value As Long) As Long
     244    InterlockedExchange=Target
    244245    Target = Value
    245     Return Target
    246246End Function
    247247Function InterlockedCompareExchange(ByRef Destination As Long, Exchange As Long, Comperand As Long) As Long
     
    256256End Function
    257257Function InterlockedExchangePointer(ByRef Target As VoidPtr, Value As VoidPtr) As VoidPtr
     258    InterlockedExchangePointer = Target
    258259    Target = Value
    259     Return Target
    260260End Function
    261261Function InterlockedCompareExchangePointer(ByRef Destination As VoidPtr, Exchange As VoidPtr, Comperand As VoidPtr) As VoidPtr
Note: See TracChangeset for help on using the changeset viewer.