Changeset 335 for trunk/Include/Classes/ActiveBasic
- Timestamp:
- Sep 18, 2007, 12:10:41 AM (17 years ago)
- Location:
- trunk/Include/Classes/ActiveBasic
- Files:
-
- 1 added
- 2 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 -
trunk/Include/Classes/ActiveBasic/index.ab
r275 r335 1 1 #require "./Core/index.ab" 2 #require "./Windows/index.ab"
Note:
See TracChangeset
for help on using the changeset viewer.