[ros-bugs] [Bug 4926] Regression: Tworld and DosBox don't work

ReactOS.Bugzilla at reactos.org ReactOS.Bugzilla at reactos.org
Sat Dec 5 03:54:50 CET 2009


http://www.reactos.org/bugzilla/show_bug.cgi?id=4926





--- Comment #8 from jimtabor <james.tabor at reactos.org>  2009-12-05 03:54:49 CET ---
Found a good test!

From:
http://www.winehq.org/pipermail/wine-devel/2006-January/044395.html
App:
http://www.winehq.org/pipermail/wine-devel/attachments/20060124/259efcd7/hooks_test.tar-0001.obj

Added in hook.c line 350 'ish:

    if ((Hook->Thread != PsGetCurrentThread()) && (Hook->Thread != NULL))
    {
           DPRINT1("\nHook found by Id and posted to Thread! %d\n",HookId );
        /* Post it in message queue. */
           return IntCallLowLevelHook(Hook, Code, wParam, lParam);
    }

Debug output:

code=0 w=00000200 l=0068FD90
code=0 w=00000200 l=0068FC58
(subsystems/win32/win32k/ntuser/hook.c:356)
Hook found by Id and posted to Thread! 14
code=0 w=00000200 l=0068FD90
code=0 w=00000200 l=0068FC58
(subsystems/win32/win32k/ntuser/hook.c:356)
Hook found by Id and posted to Thread! 14
(subsystems/win32/win32k/ntuser/hook.c:356)
Hook found by Id and posted to Thread! 14
(subsystems/win32/win32k/ntuser/hook.c:356)
Hook found by Id and posted to Thread! 14
(subsystems/win32/win32k/ntuser/hook.c:356)
Hook found by Id and posted to Thread! 14

The thread slows everything down to close to locking and just posts to the
target thread at will but once in a while....


-- 
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the Ros-bugs mailing list