After a lot of searching and a bit of tries and failures, i have summed up things and this are the results:
boost::thread
doesboost::thread
can be considered a wrapper, or an evolution if you will, of the Posix thread library, so in reality there isn't a real choice about threading libraries, they are not really that different, they are more like an evolution of the previous one.Now I'm asking, if this is the scenario, where should I start ?
For example this book, is clearly oriented to the C++11 standard threading library, it gives you the basics but the one that you will probably never use in real life because the C++11 threading support is still not that good among the most popular compilers and it's really poor in terms of functionalities .
I think that it's fair to say that starting from boost::thread
it's a good choice in the today's world - correct me if I'm wrong - and it's also the only real choice for both multi-platform support and legacy support for C++ 03: my problem is that I can't really find a book or a reference about concurrency and multithreading that looks just right or it's simply good enough for boost:thread
.
Can you suggest a book for starting with concurrency and boost::thread
?
If you are looking for a starter on boost threading take a look at this question. Personally I started from here. And then of course there is the boost documentation.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With