[PATCH 1/2] msvcrt: Do not acquire fd lock in msvcrt_create_io_inherit_block. (resend)
12 Nov
2021
12 Nov
'21
1:39 p.m.
Apologies, my user agent apparently messed this one up somehow.
12 Nov
12 Nov
1:40 p.m.
New subject: [PATCH 2/2] msvcrt/tests: Show that spawn does not require locking of fds. (resend)
This comes second since the test will deadlock without the fix applied.
4:33 p.m.
New subject: [PATCH 2/2] msvcrt/tests: Show that spawn does not require locking of fds. (resend)
Hi Thomas, On 11/12/21 14:40, Thomas Faber wrote:
+ _write(pipefds[1], "a", 1); + WaitForSingleObject(thread_handle, INFINITE); + CloseHandle(thread_handle); You're leaking pipefds here.
Thanks, Piotr
5:51 p.m.
New subject: [PATCH 2/2] msvcrt/tests: Show that spawn does not require locking of fds. (resend)
On 2021-11-12 11:33, Piotr Caban wrote:
On 11/12/21 14:40, Thomas Faber wrote:
+ _write(pipefds[1], "a", 1); + WaitForSingleObject(thread_handle, INFINITE); + CloseHandle(thread_handle); You're leaking pipefds here.
Whoops! Thanks for catching that! V2 incoming with both changes. Thanks, Thomas
1499
Age (days ago)
1499
Last active (days ago)
4 comments
2 participants
participants (2)
-
Piotr Caban -
Thomas Faber