[PATCH 2/5] server: Keep children belonging to other threads alive in destroy_thread_windows.

Jacek Caban jacek at codeweavers.com
Tue Feb 1 08:15:57 CST 2022


Signed-off-by: Jacek Caban <jacek at codeweavers.com>
---
Currently when a thread exits, we destroy such windows on server side, 
but WND pointer on client side is alive and the right thread is notified 
to do a proper clean up. Until clean up is done, we have an inconsistent 
state when some functions will work on child handle (actually, enough of 
them to do the clean up), but ones that require a server call fail (as 
shown in the test from previous patch, using SetWindowLong as an example).

  dlls/user32/tests/msg.c |  1 -
  server/window.c         | 33 ++++++++++++++++++++++++++++++---
  2 files changed, 30 insertions(+), 4 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-server-Keep-children-belonging-to-other-threads-alive-.txt
Type: text/x-patch
Size: 2052 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20220201/2ddb1be6/attachment.bin>


More information about the wine-devel mailing list