Changeset 297 for branches/branch-1-0/src/helpers/except.c
- Timestamp:
- Oct 9, 2005, 3:11:51 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/branch-1-0/src/helpers/except.c
r264 r297 128 128 + int your_func(int) 129 129 + { 130 + BOOL fSemOwned = FALSE;130 + volatile BOOL fSemOwned = FALSE; 131 131 + 132 132 + TRY_QUIET(excpt1) // or TRY_LOUD … … 188 188 189 189 /* 190 * This file Copyright (C) 1992- 99Ulrich Mller,191 * Monte Copeland,192 * Roman Stangl,193 * Kim Rasmussen,194 * Marc Fiammante,195 * John Currier,196 * Anthony Cruise.190 * This file Copyright (C) 1992-2005 Ulrich Mller, 191 * Monte Copeland, 192 * Roman Stangl, 193 * Kim Rasmussen, 194 * Marc Fiammante, 195 * John Currier, 196 * Anthony Cruise. 197 197 * This file is part of the "XWorkplace helpers" source package. 198 198 * This is free software; you can redistribute it and/or modify … … 788 788 * writes no trap logs). 789 789 * 790 * Registering hooks affects all threads that use 791 * the exception handlers. 792 * 790 793 * The hooks are as follows: 791 794 * … … 914 917 */ 915 918 916 if (pReportRec->fHandlerFlags & EH_EXIT_UNWIND) 917 return XCPT_CONTINUE_SEARCH; 918 if (pReportRec->fHandlerFlags & EH_UNWINDING) 919 return XCPT_CONTINUE_SEARCH; 920 if (pReportRec->fHandlerFlags & EH_NESTED_CALL) 919 // XWP V1.0.4 (2005-10-09) [pr]: Optimize 920 if (pReportRec->fHandlerFlags & (EH_EXIT_UNWIND | EH_UNWINDING | EH_NESTED_CALL)) 921 921 return XCPT_CONTINUE_SEARCH; 922 922 … … 1010 1010 PVOID pv) 1011 1011 { 1012 if (pReportRec->fHandlerFlags & EH_EXIT_UNWIND) 1013 return XCPT_CONTINUE_SEARCH; 1014 if (pReportRec->fHandlerFlags & EH_UNWINDING) 1015 return XCPT_CONTINUE_SEARCH; 1016 if (pReportRec->fHandlerFlags & EH_NESTED_CALL) 1012 // XWP V1.0.4 (2005-10-09) [pr]: Optimize 1013 if (pReportRec->fHandlerFlags & (EH_EXIT_UNWIND | EH_UNWINDING | EH_NESTED_CALL)) 1017 1014 return XCPT_CONTINUE_SEARCH; 1018 1015
Note:
See TracChangeset
for help on using the changeset viewer.