Build requirements for threaded code?
Sam Varshavchik
mrsam at courier-mta.com
Thu Aug 20 11:04:23 UTC 2009
Michel Salim writes:
> On Wed, 2009-08-19 at 19:57 -0700, Roland McGrath wrote:
>> -pthread means -D_REENTRANT and -lpthread. -D_REENTRANT is basically
>> useless and you should use standard feature test macros or _GNU_SOURCE for
>> what you want. So just linking with -lpthread is what I would call the
>> normal and recommended practice.
>>
>> The man pages are not maintained by people who ask the people who know.
>>
> Which raises a good question: who ought to be in charge of the manpages?
> There ought to be a good way, once a problem is found (like in this
> case), for the relevant manpage to get fixed.
The pthreads man page contains the maintainer's contact information, at the
bottom.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20090820/0baa1c5a/attachment.sig>
More information about the fedora-devel-list
mailing list