Good Book/Training material to learn multithreading in C/C++ [closed] - c++

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am just a starter at using threads in my code. I use Boost threads usually.
But I don't think I have mastered this field yet.
I am looking for learning material specifically for advanced parallel programming. Could anybody suggest something.

There's an early access edition of C++ Concurrency in Action available at http://www.manning.com/williams/ He's very knowledgeable on the subject and AFAIK he's the author of boost threads and has also just released a version of std::thread conforming to the new c++0x standard.
I'm also reading Concurrent Programming on Windows by Joe Duffy which is a pretty good read so far: http://www.bluebytesoftware.com/books/winconc/winconc_book_resources.html
Update:
Also, see this link https://stackoverflow.com/questions/415994/boost-thread-tutorials/3951227#3951227

I think you should continue using Boosts threads, they will be usable on different OS's.
I haven't read any good books on multithreading, but you could take a pick (and preview) some at Google Books.

Related

Is "Accelerated C++: Practical Programming by Example" still current? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I need to learn C++. Because I like the book's concept and I can already program in several other languages I thought "Accelerated C++: Practical Programming by Example" would be the best choice. However, the book is over 12 years old. Is it still a good idea to pick it up or would I be missing too many important new features of the language?
It remains one of the best books around. It's based on C++98, but C++03 is more bug fixes than anything else, and most programmers can't use anything more recent anyway. As with most languages that have been around for awhile, recent evolutions can be thought of as either fine tuning, or additional features to handle new issues (like threading).
I read some C++ books, and i recomend C++ Primer.
The way the author teaches the language is very insterestig.
Besides its a "heavy" book, you can learn more deeply the language and how to avoid errors.

Introduction to SQL for C++ programmer [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm a C++ programmer who wants to expand his knowledge into SQL language because I'm dealing with QtSQL module and would like to understand it better.
I would like to find a gentle introduction to SQL language for a C/C++ programmer.
Can you suggest some reading or a particular tutorial?
See this question: https://stackoverflow.com/questions/31982/looking-for-a-good-book-to-learn-sql
the highest rated answer recommends 2 nice books for beginners.
Coming from C++ field doesn't make much difference in this case in my oppinion. Start from basic stuff and you'll be fine!
For a nice web tutorial you can also check this: http://www.w3schools.com/sql/default.asp
COMMENT: You should not ask for recomendations in SO (although judging by your reputation you are aware of the rules). There are already various answers for this question as it is too generic and subjective. Read some books and tutorials and come back with SQL coding questions ;-)

Multithreaded programming C++ [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am looking for a good book/article/reference on multithreaded programming in C++. I found few older threads where there are some recommendations. However, most of them are in Java. Does anyone know of anything strictly in C++?
Thanks in advance.
There's a book by manning called: C++ Concurrency in Action which looks very promising.
It should be available next month and it has a lot of C++ threading from how to create threads to advanced concurrency topic such as lock free collections (in C++!).
A nice video tutorial up to date with C++11 here MSDN. It's not for beginners and will only be helpful with a recent compiler.
An oldie but a goodie: O'Reilly's "Pthreads Programming" book. Examples are in C, which will work fine in a C++ program. If you're really looking for an OO approach, however, this probably won't cut it. I'd imagine there are more recent references but I found this to be a well written book when I read it years ago.

A recommendation for a good programming book in Threads and Concurrency in c\c++ [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
HI all!
I'm currently taking the course Operating Systems in my university. We mainly study theory and have simple exercises in c++ to exercise some theoretical principles.
I want to study more about the practical programming in concurrency and threads in c\c++ and i was wondering if any of you have a good book to recommend on.
Thank you all
Introduction to parallel computing: https://computing.llnl.gov/tutorials/parallel_comp/
POSIX threads programming: https://computing.llnl.gov/tutorials/pthreads/
If you will be working with UNIX-like systems, then I recommend Programming With POSIX Threads by David R. Butenhof.
If you will be working with Microsoft Windows, then I recommend Writing Multithreaded Applications in Win32 by Jim Beveridge and Robert Wiener.
Irrespective of which threading package(s) you will end up using, I recommend you look at two presentations I wrote: Generic Synchronization Policies and Multi-threaded Performance Pitfalls. Those short presentations contain useful information that, unfortunately, is not discussed in many other books and articles.
I have also been looking for such a book, they are very hard to come by. This one will be released in May, if that's any help:
http://www.manning.com/williams/
I purchased this book:
http://www.amazon.co.uk/gp/product/0123705916/ref=oss_product
It's very good, it's in java, but most of the principles apply to c/c++ anyway.

State of C++ Standard [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I haven't kept up lately with the C++ world. Exactly where do things stand these days regarding the standard?
Is TR1 adopted?
Is there a TR2?
How do these relate to C++0x? Are the subsumed?
Has a decision been reached on threading yet?
You can find an extensive article about the upcoming C++0x on wikipedia and the current state of C++ evolution here. It is also worth giving a look at the current GNU implementation in gcc
I'd recommend you to visit
http://www.open-std.org/jtc1/sc22/wg21/
The information you want is available at the site pvnsp directed you to. To synopsize my understanding
Yes, TR1 has been adopted and C++0x is expected to subsume nearly all of the standard.
There is a TR2, it's still in development.
As far as I know, there is no decision on threading. Here's a document from open-std.org that discusses the matter.