- Timestamp:
- Sep 18, 2007, 12:10:41 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Include/Classes/ActiveBasic/Windows/CriticalSection.ab
r303 r335 53 53 54 54 /*Override*/ Sub Dispose() 55 ' Dim p = ActiveBasic.Windows.Detail.InterlockedExchangeAnyPointer(pcs, 0)56 Dim p = InterlockedExchangePointer(pcs As VoidPtr, 0) As *CRITICAL_SECTION57 If p <> 0 Then58 LeaveCriticalSection(ByVal p )55 ' Dim pcsOld = ActiveBasic.Windows.Detail.InterlockedExchangeAnyPointer(pcs, 0) 56 Dim pcsOld = InterlockedExchangePointer(pcs As VoidPtr, 0) As *CRITICAL_SECTION 57 If pcsOld <> 0 Then 58 LeaveCriticalSection(ByVal pcsOld) 59 59 End If 60 60 End Sub
Note:
See TracChangeset
for help on using the changeset viewer.