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