[PATCH v3 02/11] ntoskrnl.exe: Implement KeAreApcsDisabled using critical region functions.
Jacek Caban
jacek at codeweavers.com
Thu Apr 11 14:35:53 CDT 2019
On 4/11/19 8:26 PM, Derek Lesho wrote:
> @@ -3431,7 +3433,8 @@ void WINAPI ExReleaseResourceForThreadLite( PERESOURCE resource, ERESOURCE_THREA
> */
> void WINAPI KeEnterCriticalRegion(void)
> {
> - FIXME(": stub\n");
> + TRACE(": semi-stub\n");
> + KeGetCurrentThread()->critical_region = TRUE;
> }
According to MSDN, those may be called recursively, so you'd need a
counter here instead.
Thanks,
Jacek
More information about the wine-devel
mailing list