aboutsummaryrefslogtreecommitdiff
path: root/libgloss/mips/hal/mips_lock_cache.c
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2025-07-02 22:18:50 +0200
committerCorinna Vinschen <corinna@vinschen.de>2025-07-03 12:36:15 +0200
commitcb33699b031f5b716b4b9522b88275ebf41210d0 (patch)
tree9f58031d9bedc134b6fb0b06ffd9f66ada8db6e8 /libgloss/mips/hal/mips_lock_cache.c
parentbbd3710fc83451426e3a58e5032437ca535fa444 (diff)
downloadnewlib-cb33699b031f5b716b4b9522b88275ebf41210d0.zip
newlib-cb33699b031f5b716b4b9522b88275ebf41210d0.tar.gz
newlib-cb33699b031f5b716b4b9522b88275ebf41210d0.tar.bz2
Cygwin: dlsym: fetch module list via EnumProcessModules
We're using RtlQueryProcessDebugInformation from dlsym since commit 31ddf45dd8694 ("* autoload.cc (EnumProcessModules): Remove.") Observations on the Cygwin mailing list show that calling RtlQueryProcessDebugInformation on a process is neither thread-safe, nor multi-process-safe, see https://cygwin.com/pipermail/cygwin/2025-July/258403.html for details. This patch essentially reverts 31ddf45dd8694. Fetch the list of loaded modules in the current process by calling EnumProcessModules again. Reported-by: Christian Franke <Christian.Franke@t-online.de> Fixes: 31ddf45dd8694 ("* autoload.cc (EnumProcessModules): Remove.") Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'libgloss/mips/hal/mips_lock_cache.c')
0 files changed, 0 insertions, 0 deletions