On Saturday 28 February 2009 17:06:49 Jamie Lokier wrote:
> Mike Frysinger wrote:
> > On Saturday 28 February 2009 14:16:30 Jamie Lokier wrote:
> > > (I still haven't figured out if it's safe to use vfork with shared
> > > libraries and lazy procedure lookup... doesn't apply for Jan's ARM
> > > with no shared libraries of course).
> >
> > why wouldnt it ?  there isnt any locking or such in the resolver, and it
> > isnt like there are "speculative lookups" done randomly.  there is an
> > issue on Blackfin with thread safety, but that is only because we lack
> > 64bit atomic load/stores and the FDPIC PLT is a 64bit descriptor.
>
> What about when another thread is calling dlopen(RTLD_GLOBAL)?
> Doesn't that update a global list of DSOs to search?

different topic of sorts ... at least, lazy relocation is independent of 
dlopening.  i'm not sure what POSIX requires in terms of thread safe dl 
support.  i know dlerror() isnt required to be thread safe ...

at any rate, this would be an issue to bring up on the uClibc lists.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to