[PATCH] libdl: rudimentary locking for dlopen/dlsym/dlclose

Carmelo AMOROSO carmelo.amoroso at st.com
Thu Mar 24 15:31:28 UTC 2011


On 3/24/2011 4:01 PM, Timo Teräs wrote:
> On 03/24/2011 04:58 PM, Mike Frysinger wrote:
>  > 2011/3/24 Timo Teräs:
>  >> 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.
>  >
>  > looks straight forward enough ... i'm assuming it actually fixes the
>  > crashes you were seeing ?
> 
> Yes. No crashes on my box anymore. Valgrind is happy too.

Hum...  I don't think it will fix my (random) crashes... anyway I'll
give a try.

Carmelo

> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://lists.busybox.net/mailman/listinfo/uclibc
> 


More information about the uClibc mailing list