NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/59784 CVS commit: src/tests/lib/libpthread/dlopen
The following reply was made to PR lib/59784; it has been noted by GNATS.
From: "Taylor R Campbell" <riastradh%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc:
Subject: PR/59784 CVS commit: src/tests/lib/libpthread/dlopen
Date: Sat, 22 Nov 2025 20:04:02 +0000
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