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

Re: Build requirements for threaded code?



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



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