c++ - How does the standard threading library compare to Boostâs? -
I am writing a little legacy code in C ++ 11 and want to make the processing more concurrent. I have read about the C ++ 11 Threading Library, but want to see if anyone has used it and if you want to share it then you want to share the idea of how easy it is?
Between Boost Threading and this library, which is one more better and why? Threading libraries are similar to the Boost standard (if you activate the new interface) but add features that are currently C ++ 14 / Proposed for expansion for 17, it also offers more synchronization tools than the current standard or C ++ 14 draft.
What you need to know is that standard and promotional libraries are actually low level concurrent structures, they do not provide yet high level construction, but to add such constructions, both standards Work has been done by the Committee and Boost Developers.
I have recommended reading the book "C ++ Consolation in Action" which in depth describes how C ++ 11 Threading Library works and who also do not provide it (like Thread Pool Deployment ).
Comments
Post a Comment