Ignore:
Timestamp:
Jun 2, 2002, 2:42:09 PM (23 years ago)
Author:
sandervl
Message:

LogExcpetion: check lockcount before changing it on entry

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/exceptions.cpp

    r8339 r8548  
    1 /* $Id: exceptions.cpp,v 1.58 2002-04-30 09:36:09 sandervl Exp $ */
     1/* $Id: exceptions.cpp,v 1.59 2002-06-02 12:42:09 sandervl Exp $ */
    22
    33/*
     
    11331133  //SvL: Check if exception inside debug fprintf -> if so, clear lock so
    11341134  //     next dprintf won't wait forever
    1135   LogException(ENTER_EXCEPTION);
     1135  int prevlock = LogException(ENTER_EXCEPTION);
    11361136
    11371137  /* Access violation at a known location */
     
    13281328  }
    13291329continuesearch:
    1330   LogException(LEAVE_EXCEPTION);
     1330  LogException(LEAVE_EXCEPTION, prevlock);
    13311331  return XCPT_CONTINUE_SEARCH;
    13321332
    13331333continueexecution:
    1334   LogException(LEAVE_EXCEPTION);
     1334  LogException(LEAVE_EXCEPTION, prevlock);
    13351335  return XCPT_CONTINUE_EXECUTION;
    13361336}
Note: See TracChangeset for help on using the changeset viewer.