Up to [cvs.NetBSD.org] / src / lib / libpthread
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: netbsd-9-base
Revision 1.153 / (download) - annotate - [select for diffs], Tue Mar 5 01:35:52 2019 UTC (5 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-20191119,
phil-wifi-20190609,
netbsd-9-base,
netbsd-9-0-RC1
Branch point for: netbsd-9
Changes since 1.152: +3 -2
lines
Diff to previous 1.152 (colored)
Transfer all the keys that were created in the libc stub implementation to the pthread tsd implementation when the main thread is created. This corrects a problem where a process created keys before libpthread was loaded (either from the libc constructor or because libpthread was dlopened later). This fixes a problem with jemalloc which creates keys in the constructor.