Changeset 1741 for trunk/src


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

added dprintf2's + exception handler fix

Location:
trunk/src/kernel32
Files:
2 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       
  • trunk/src/kernel32/exceptions.cpp

    r1580 r1741  
    1 /* $Id: exceptions.cpp,v 1.28 1999-11-03 21:01:14 phaller Exp $ */
     1/* $Id: exceptions.cpp,v 1.29 1999-11-14 17:25:04 sandervl Exp $ */
    22
    33/*
     
    522522  excptaddr = getEBX();
    523523
    524   dprintf(("KERNEL32: KillWin32Process: Do you feel lucky, punk? (FS=%d)!\n", GetFS()));
    525524  //Restore original OS/2 TIB selector
    526525  RestoreOS2FS();
     
    947946  case XCPT_FLOAT_DIVIDE_BY_ZERO:
    948947  case XCPT_FLOAT_INEXACT_RESULT:
    949   case XCPT_FLOAT_INVALID_OPERATION:
     948//  case XCPT_FLOAT_INVALID_OPERATION:
    950949  case XCPT_FLOAT_OVERFLOW:
    951950  case XCPT_FLOAT_STACK_CHECK:
Note: See TracChangeset for help on using the changeset viewer.