Author: ion Date: Thu Jan 4 04:55:27 2007 New Revision: 25289
URL: http://svn.reactos.org/svn/reactos?rev=25289&view=rev Log: - Fix a bug in KeLeaveCriticalRegion which was delivering APCs even if Special APCs were disabled. The check is now fixed. Thanks to Dominique Cote for the bug report.
Modified: trunk/reactos/ntoskrnl/include/internal/ke_x.h
Modified: trunk/reactos/ntoskrnl/include/internal/ke_x.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/include/internal/k... ============================================================================== --- trunk/reactos/ntoskrnl/include/internal/ke_x.h (original) +++ trunk/reactos/ntoskrnl/include/internal/ke_x.h Thu Jan 4 04:55:27 2007 @@ -167,7 +167,7 @@ { \ /* Check if we need to request an APC Delivery */ \ if (!(IsListEmpty(&_Thread->ApcState.ApcListHead[KernelMode])) && \ - !(_Thread->KernelApcDisable)) \ + !(_Thread->SpecialApcDisable)) \ { \ /* Check for the right environment */ \ KiCheckForKernelApcDelivery(); \