Source-Changes archive

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

CVS commit: src/tests/lib/libpthread/dlopen



Module Name:    src
Committed By:   riastradh
Date:           Sat Nov 22 20:04:02 UTC 2025

Modified Files:
        src/tests/lib/libpthread/dlopen: t_dlopen.c

Log Message:
tests/lib/libpthread: Test unloading libpthread after lazy binding.

If you dlopen libpthread and dlclose it again, the thread stubs like
pthread_mutex_lock need to continue working -- a library might have
calls to it in order to support thread-safety for threaded
applications, but that library needs to continue working even in
non-threaded applications after lazy binding of the libpthread symbol
instead of the libc stub.

PR lib/59784: dlopening and dlclosing libpthread is broken


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libpthread/dlopen/t_dlopen.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