mirror of https://git.musl-libc.org/git/musl
Browse Source
commit 167390f055 seems to have
overlooked the presence of a lock here, probably because it was one of
the exceptions not using LOCK() but a rwlock.
as such, it can't be added to the generic table of locks to take, so
add an explicit atfork function for the pthread keys table. the order
it is called does not particularly matter since nothing else in libc
but pthread_exit interacts with keys.
master
3 changed files with 12 additions and 0 deletions
Loading…
Reference in new issue