[PATCH 4/5] user32: Use a single lock in destroy_thread_windows.

Jacek Caban jacek at codeweavers.com
Tue Feb 1 08:22:37 CST 2022


Signed-off-by: Jacek Caban <jacek at codeweavers.com>
---
This is a preparation for the next patch, which makes sure that there is 
no inconsistency between server and user32 view of window handles after 
destroy_thread_windows is done in user32, but not yet in server. This is 
probably not a big deal right now (although it's not right either), my 
main motivation is a rework of handles that I'm working on. If this and 
the next patch are not convincing alone, please hold them. I plan to 
share more patches for a better context soon, but I don't have them 
cleaned up enough yet.

  dlls/user32/win.c | 40 +++++++++++++++++++++-------------------
  1 file changed, 21 insertions(+), 19 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-user32-Use-a-single-lock-in-destroy_thread_windows.txt
Type: text/x-patch
Size: 2462 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20220201/2a0c11b0/attachment.bin>


More information about the wine-devel mailing list