]> sourceware.org Git - glibc.git/commit
htl: Make pthread*_cond_timedwait register wref before releasing mutex
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 22 Aug 2022 20:27:24 +0000 (22:27 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 22 Aug 2022 20:27:24 +0000 (22:27 +0200)
commit4565083abc972bffe810e4151f8f3cb48531e526
tree8cab8d695ba64687a2f9cc2d085da73d5f32c2ed
parent8bf0bc8350b32ae1b052b9a7de5f9e84b35e325e
htl: Make pthread*_cond_timedwait register wref before releasing mutex

Otherwise another thread could be rightly trying to destroy the condition,
see e.g. tst-cond20.
sysdeps/htl/pt-cond-timedwait.c
sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c
This page took 2.400758 seconds and 5 git commands to generate.