Re: Build requirements for threaded code?

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

 



-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.

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux