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

Mike Frysinger vapier at gentoo.org
Thu Mar 24 17:30:33 UTC 2011


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


More information about the uClibc mailing list