This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: pthread weak symbols
- From: Samuel Thibault <samuel dot thibault at ens-lyon dot org>
- To: Matt Turner <mattst88 at gmail dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Thu, 10 Dec 2015 00:41:43 +0100
- Subject: Re: pthread weak symbols
- Authentication-results: sourceware.org; auth=none
- References: <CAEdQ38EeTtv6zty4wDAr-s=SERMOqgQMSqex7qAirj_UtZOviA at mail dot gmail dot com>
Matt Turner, on Wed 09 Dec 2015 15:20:55 -0800, wrote:
> Can I get some clarification about what problems there are with the
> weak pthread symbols, and perhaps some suggested alternative
> solutions?
In case you take a mutex, and then dlopen a module which depends on
libpthread. The mutex you are supposed to own is not actually considered
as taken.
Samuel