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

Carmelo AMOROSO carmelo.amoroso at st.com
Tue Apr 5 05:21:07 UTC 2011


On 3/24/2011 6:30 PM, Mike Frysinger wrote:
> 2011/3/24 Timo Teräs:
>  > 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.
> 
> good enough for me :)
> 
> let's see what Carmelo finds out before we merge ...
> -mike
> _____

just back to work on uClibc... I will run tests today.

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



More information about the uClibc mailing list