[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gnulib] Re: support for multithread-safe libraries
From: |
Bruno Haible |
Subject: |
Re: [bug-gnulib] Re: support for multithread-safe libraries |
Date: |
Tue, 26 Jul 2005 14:50:25 +0200 |
User-agent: |
KMail/1.5 |
Albert Chin wrote:
> So, according to your test, #pragma weak supports weak symbols on
> Solaris and IRIX 6.5.
Yes, I confirm this.
> However, in the case of pthread mutex'es, you
> should really test for working stubs in libc:
> http://lists.freedesktop.org/archives/cairo/2005-July/004465.html
>
> If you do so, you'll get a failure on IRIX 6.5 and a success on HP-UX
> 11.x.
I agree. On HP-UX and Solaris, I get a "success" although programs that need
to create thread actually need -lpthread.
On IRIX 6.5, I get a link error without -lpthread, because among the stubs
in IRIX libc, you have pthread_mutex_init but not pthread_mutexattr_init.
(The latter is needed for recursive locks.)
Bruno
- Re: support for multithread-safe libraries, (continued)
Re: support for multithread-safe libraries, Oskar Liljeblad, 2005/07/15
Re: support for multithread-safe libraries, Albert Chin, 2005/07/19
Re: support for multithread-safe libraries, Albert Chin, 2005/07/19
- Re: [bug-gnulib] Re: support for multithread-safe libraries,
Bruno Haible <=