This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Provide pthread_atfork in libc_nonshared.a and libc.a.


On 10/18/2013 08:07 AM, Florian Weimer wrote:
> On 10/02/2013 11:31 PM, Carlos O'Donell wrote:
> 
>> Comments?
> 
> I think this change makes a lot of sense because we have several
> libraries which should use pthread_atfork, but currently don't
> because it's difficult to properly obtain access to that symbol.
> 
> Could we do something similar for pthread_once?
> 
> We still don't have any pthread documentation, do we?
> 

We do have pthread documentation. I will add pthread_atfork
to that documentation as part of v2 of this patch. I will
include information that says that this symbol is accessible
without linking to libpthread.

If you want something similar done with pthread_once it might
be more complicated and we should file an issue to track that.

Cheers,
Carlos.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]