boostorg / thread

Boost.org thread module
http://boost.org/libs/thread
198 stars 162 forks source link

Document required compilation and linking flags #257

Open giomasce opened 5 years ago

giomasce commented 5 years ago

Boost.Thread documentation does not explain which compilation and linking flags must be added when using the library. Experience suggests that on Linux the flag -pthread can be required for compilation to succeed. However, it would be nice to see that information in the documentation, together with possible other necessary options, also depending on the threading back end.

Thanks.

viboes commented 5 years ago

Hi, thanks for the report.

A PR is welcome.