well the docs on boost's thread lib isn't as good as the asio lib... And after reading this: http://www.boost.org/doc/libs/1_44_0/doc/html/thread/synchronization.html I got the main idea but there is no codes and examples, that I could find, using that. I would be happy for a link or explanations on how using that开发者_如何学运维..
These two tutorials might help as they have code examples.
- this has a section on multithreading which gives an intro to synchronization objects
- Another one from Dr. Dobb's has an intro.
精彩评论