Re: Build requirements for threaded code?

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

 



Tom Lane writes:

This might be a stupid question, but: what compile and link options
are necessary nowadays for multithreaded code?  I see various references
to -pthread and -lpthread, but it's hard to be sure what's
authoritative.

Just -lpthread does the trick for me. The -pthread option is needed on other platform, not Linux.

Attachment: pgpbZMh6u43Cj.pgp
Description: PGP signature

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