user32: After handling an internal message give a chance to real message to arrive.

Alexandre Julliard julliard at winehq.org
Mon May 4 02:28:46 CDT 2015


Dmitry Timoshkov <dmitry at baikal.ru> writes:

> The problem is that once Get/PeekMessage handles an internal message it
> doesn't yield control to another thread and checks the message queue
> immediately, this misses a sent message from another thread and instead
> returns a previously posted one. I admit that this is a pure artificial
> thing that I stumbled upon, but it reveals a real bug in Wine with internal
> message handling.

This sounds like a simple race condition. Slowing down message
processing may make it less likely to happen, but it doesn't fix
anything.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list