BOOST libraries in multithreading-aware mode

前端 未结 6 2078
野的像风
野的像风 2020-12-03 02:44

There is a possibility to compile BOOST libraries in the so-called thread-aware mode. If so you will see \"...-mt...\" appeared in the library name. I can\'t understand wha

6条回答
  •  醉酒成梦
    2020-12-03 03:21

    You can build Boost with multi-threading support or not (threading=multi|single). Boost.Thread force the build of the library by setting threading=multi in its Jamfile (the bjam equivalent of a Makefile).

    So independently of whether you request threading support or not, Boost.Thread always provide it. Hence you can find both names.

提交回复
热议问题