Re: pthread_condattr_{init,destroy} stubs in libc?

Uli Schlachter <[email protected]>
Newsgroups gmane.comp.freedesktop.xcb,gmane.os.freebsd.devel.threading
Message-ID <[email protected]>
On 04.03.2017 16:59, Matt Turner wrote:
> Context: https://bugs.freedesktop.org/show_bug.cgi?id=72074#c2
[...]

I would summarize the problem as "libpthread-stubs.so provides weak
symbols, FreeBSD's threading library provides weak symbols, the result
is that a mix of stubs and real functions is used".

All of this problem goes away with the new patches against
pthread-stubs. There is no longer any libpthread-stubs.so whose weak
symbols could cause problems. Instead, pthread-stubs.pc will just "make"
things link against libpthread directly and everyone is happy.

Right?

(Of course, having stubs in libc for the functions which can be stubbed
would still be a good idea and would avoid single-threaded programs
linking against libpthread)

Uli
-- 
Sent from my Game Boy.
_______________________________________________
Xcb mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/xcb
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.