]> git.ipfire.org Git - thirdparty/git.git/commit
win32: close handles of threads that have been joined
authorSeija Kijin <doremylover123@gmail.com>
Tue, 3 Jan 2023 16:20:19 +0000 (16:20 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 4 Jan 2023 06:39:47 +0000 (15:39 +0900)
commit238a9dfe86d18214bc0b8be079feee01a2fdc407
tree70de32572714999b83f062fd965e00cf173e5a7f
parent23a6a12dfa317e48627c8fec72ee80151276bad6
win32: close handles of threads that have been joined

After the thread terminates, the handle to the
original thread should be closed.

This change makes win32_pthread_join POSIX compliant.

Signed-off-by: Seija Kijin <doremylover123@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
compat/win32/pthread.c