28 Jun
2024
28 Jun
'24
11:13 a.m.
From which thread?
1. From main thread: useless unless we're pumping messages 2. From dialog thread: it's already pumping messages
From the dialog thread of course. Now I think of it, sending a WM_NULL should be enough.
We want to preserve the timeout. Otherwise winetest runs might get stuck.
I don't think it can get stuck with the SendMessage() approach. As you said, the dialog thread is pumping messages. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/5761#note_74653