Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/lib



Module Name:    src
Committed By:   christos
Date:           Tue Mar  5 01:35:52 UTC 2019

Modified Files:
        src/lib/libc/thread-stub: thread-stub.c
        src/lib/libpthread: pthread.c pthread_int.h pthread_tsd.c
Added Files:
        src/lib/libc/include: tsd.h

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/lib/libc/include/tsd.h
cvs rdiff -u -r1.28 -r1.29 src/lib/libc/thread-stub/thread-stub.c
cvs rdiff -u -r1.152 -r1.153 src/lib/libpthread/pthread.c
cvs rdiff -u -r1.94 -r1.95 src/lib/libpthread/pthread_int.h
cvs rdiff -u -r1.16 -r1.17 src/lib/libpthread/pthread_tsd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index