Opened 17 years ago

#135 new タスク

x64版のInterlockedIncrement関数の類を整備する

Reported by: dai Owned by: dai
Priority: 中-major Milestone: AB5 CP6
Component: Compiler Version:
Keywords: Cc:

Description

Declare Function InterlockedIncrement Lib "kernel32" (ByRef lpAddend As Long) As Long
Declare Function InterlockedDecrement Lib "kernel32" (ByRef lpAddend As Long) As Long
Declare Function InterlockedExchange Lib "kernel32" (ByRef Target As Long, Value As Long) As Long
Declare Function InterlockedCompareExchange Lib "kernel32" (ByRef Destination As Long, Exchange As Long, Comperand As Long) As Long
Declare Function InterlockedExchangeAdd Lib "kernel32" (ByRef Addend As Long, Value As Long) As Long
Declare Function InterlockedCompareExchangePointer Lib "kernel32" Alias "InterlockedCompareExchange" (ByRef Destination As VoidPtr, Exchange As VoidPtr, Comperand As VoidPtr) As VoidPtr
Declare Function InterlockedExchangePointer Lib "kernel32" Alias "InterlockedExchange" (ByRef Target As VoidPtr, Value As VoidPtr) As VoidPtr

これらの関数がKernel32に含まれなくなっているので、別途ネイティブコードで生成可能にする。

Change History (0)

Note: See TracTickets for help on using tickets.