Build requirements for threaded code?
Michel Salim
michael.silvanus at gmail.com
Thu Aug 20 03:22:05 UTC 2009
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.
Regards,
--
Michel Alexandre Salim
More information about the fedora-devel-list
mailing list