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.
精彩评论