[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: autoconf, sendmail, and pthreads
From: |
Ganesan Rajagopal |
Subject: |
Re: autoconf, sendmail, and pthreads |
Date: |
22 Dec 2000 08:42:29 +0530 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Capitol Reef) |
>>>>> "Bob" == Bob Friesenhahn <address@hidden> writes:
> On Thu, 21 Dec 2000 address@hidden wrote:
>>
>> -pthread -- is for gcc
> Support for -pthread in gcc is non-standard. It is not supported by
> the standard GNU compiler (e.g. 2.95.2) when configured and compiled
> from distributed sources.
> The portable way to support POSIX threads for SunOS 5.6 and later is
> to add -D_REENTRANT to the compilation defines, and -lpthread to the
> libraries. Use of -lposix4 is optional, and is not necessarily
> required in order to use -lpthread. See the threads(3t) manual page.
This is correct. -lposix4 is needed only if you need sched_yield() or
POSIX 1003.1b semaphores.
Ganesan
--
R. Ganesan (address@hidden) | Ph: 91-80-5721856 Ext: 2149
Novell India Development Center. | #include <std_disclaimer.h>
- autoconf, sendmail, and pthreads, Lars Hecking, 2000/12/19
- Re: autoconf, sendmail, and pthreads, Steven G. Johnson, 2000/12/20
- Re: autoconf, sendmail, and pthreads, rssh, 2000/12/21
- Re: autoconf, sendmail, and pthreads, Bob Friesenhahn, 2000/12/21
- Re: autoconf, sendmail, and pthreads, Ruslan Shevchenko, 2000/12/21
- Re: autoconf, sendmail, and pthreads, Bob Friesenhahn, 2000/12/21
- Re: autoconf, sendmail, and pthreads, Steven G. Johnson, 2000/12/21
- Re: autoconf, sendmail, and pthreads,
Ganesan Rajagopal <=
- Re: autoconf, sendmail, and pthreads, Steven G. Johnson, 2000/12/21