Ignore:
Timestamp:
Nov 14, 1999, 6:25:04 PM (26 years ago)
Author:
sandervl
Message:

added dprintf2's + exception handler fix

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 $ */
    22/*
    33 * Win32 critical sections
     
    7272    DWORD res;
    7373
     74    dprintf2(("EnterCriticalSection %x", crit));
    7475    if (!crit->LockSemaphore)
    7576    {
     
    120121BOOL WINAPI TryEnterCriticalSection( CRITICAL_SECTION *crit )
    121122{
     123    dprintf2(("TryEnterCriticalSection %x", crit));
    122124    if (InterlockedIncrement( &crit->LockCount ))
    123125    {
     
    142144void WINAPI LeaveCriticalSection( CRITICAL_SECTION *crit )
    143145{
     146    dprintf2(("LeaveCriticalSection %x", crit));
    144147    if (crit->OwningThread != GetCurrentThreadId()) return;
    145148       
Note: See TracChangeset for help on using the changeset viewer.