Re: [PATCH v2 0/2] MR4811: ntdll: Avoid hanging when a thread is terminated while holding a pthread mutex.
9 Jan
2024
9 Jan
'24
1:56 p.m.
Jinoh Kang (@iamahuman) commented about dlls/ntdll/unix/server.c:
* * Read data from the reply buffer; helper for wait_reply. */ -static void read_reply_data( void *buffer, size_t size ) +static unsigned int read_reply_data( void *buffer, size_t size ) `read_reply_data` can now return failure. Shall we update its only caller, `wait_reply`, to handle it? The abandoned thread, detached from the server, is no longer forcibly aborted and thus let loose to do whatever it wants as long as it doesn't involve a server call, and in case of abnormally terminated server, a SIGQUIT might not have even arrived.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/4811#note_56996
786
Age (days ago)
786
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jinoh Kang (@iamahuman)