What package should I use and what would a "hello world"-level program look like?
views:
100answers:
3
+3
A:
Try C++: Concurrency in Action
Chapter 1. Introduction is freely available in that website, and IIRC that includes a multi-threaded "Hello, World!". C++0x introduces std::thread
, the standardized way of using threads in C++, and this book uses that.
ArunSaha
2010-10-12 22:04:26
A:
I recommend the book: Multithreading Applications in Win32: The Complete Guide to Threads
It covers the simplest scenarios first.
Alex Emelianov
2010-10-12 22:06:50
A:
Try implementing a solution for one of the classic Dijkstra's problems for concurrency, such as the "Dining Philosophers", or the producer/consumer problem, etc.
Jas
2010-10-12 22:07:42