[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Build requirements for threaded code?



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.


Attachment: pgpIOReFBV26b.pgp
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]