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 thenormal 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.
Description: PGP signature