Thread not detaching?

Alexandre Julliard julliard at winehq.org
Sun Oct 3 23:01:36 CDT 2004


Duane Clark <dclark at akamail.com> writes:

>   12 0x407fb4ca MsgWaitForMultipleObjectsEx+0x13e(count=0x0, pHandles=0x0, timeout=0x0, mask=0x0, flags=0x0) [/home/wine/dlls/user/../../windows/message.c:599] in user32 (0x410a58f8)
>   13 0x40a59a23 X11DRV_SetWindowPos+0x27(winpos=0x410a5994) [/home/wine/dlls/x11drv/winpos.c:888] in x11drv (0x410a5988)
>   14 0x40811524 SetWindowPos+0xe4(hwnd=0x10024, hwndInsertAfter=0x0, x=0x0, y=0x0, cx=0x0, cy=0x0, flags=0x57) [/home/wine/dlls/user/../../windows/winpos.c:1210] in user32 (0x410a59c0)
>   15 0x40a5a5f8 .L516+0x70 in x11drv (0x410a5a08)
>   16 0x40810a11 ShowWindow+0x65(hwnd=0x10024, cmd=0x5) [/home/wine/dlls/user/../../windows/winpos.c:852] in user32 (0x410a5a24)

The problem is most likely that ShowWindow should not hold the
USER lock while calling SetWindowPos.

BTW there is no call to MsgWaitForMultipleObjectsEx in
X11DRV_SetWindowPos. Is that something you added, or is the
debugger smoking crack?

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list