[PATCH] libdl: rudimentary locking for dlopen/dlsym/dlclose
Will Newton
will.newton at gmail.com
Sat Dec 17 12:30:05 UTC 2011
2011/3/24 Timo Teräs <timo.teras at iki.fi>:
> This implements big-dlfcn lock to allow multithreaded usage of
> dlopen/dlsym/dlclose. We should really clean up the dl code so
> we can use more fine grained locking or even RCU where appropriate.
> But at least we won't crash now.
>
> Signed-off-by: Timo Teräs <timo.teras at iki.fi>
> ---
> TODO | 1 +
> ldso/libdl/libdl.c | 54 +++++++++++++++++++++++++++++++++++++++++++++++----
> 2 files changed, 50 insertions(+), 5 deletions(-)
Hi Timo,
This patch fixes a crash in an app I have been seeing. Would it be
possible to get it committed? Unless anyone has any objections of
course.
More information about the uClibc
mailing list