Changeset 1741 for trunk/src/kernel32/critsection.cpp
- Timestamp:
- Nov 14, 1999, 6:25:04 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/critsection.cpp
r1641 r1741 1 /* $Id: critsection.cpp,v 1. 1 1999-11-08 20:53:24 sandervl Exp $ */1 /* $Id: critsection.cpp,v 1.2 1999-11-14 17:25:04 sandervl Exp $ */ 2 2 /* 3 3 * Win32 critical sections … … 72 72 DWORD res; 73 73 74 dprintf2(("EnterCriticalSection %x", crit)); 74 75 if (!crit->LockSemaphore) 75 76 { … … 120 121 BOOL WINAPI TryEnterCriticalSection( CRITICAL_SECTION *crit ) 121 122 { 123 dprintf2(("TryEnterCriticalSection %x", crit)); 122 124 if (InterlockedIncrement( &crit->LockCount )) 123 125 { … … 142 144 void WINAPI LeaveCriticalSection( CRITICAL_SECTION *crit ) 143 145 { 146 dprintf2(("LeaveCriticalSection %x", crit)); 144 147 if (crit->OwningThread != GetCurrentThreadId()) return; 145 148
Note:
See TracChangeset
for help on using the changeset viewer.