boost-thread
need tutorials on boost's synchronizations objects
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 i[详细]
2023-01-24 17:14 分类:问答boost::thread and template functions
I am trying to run a template function on a separate thread but Intell开发者_运维技巧iSense (VC++ 2010 Express) keeps giving me the error:[详细]
2023-01-23 09:32 分类:问答What’s the best way to delete boost::thread object right after its work is complete?
I create boost::thread object with a new operator and continue without waiting this thread to finish its work:[详细]
2023-01-20 16:34 分类:问答C++ Thread Pool [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.[详细]
2023-01-20 14:38 分类:问答How can I achieve something similar to a semaphore using boost in c++? [duplicate]
This question already has answers here: 开发者_StackOverflow社区 C++0x has no semaphores? How to synchronize threads?[详细]
2023-01-19 18:21 分类:问答Using exceptions within a boost::thread thread
I began to play around with boost::threads, but I\'m kind of stuck with this problem: I don\'t understand why this program crashes as soon as the exception is thrown, because I try to catch it withi[详细]
2023-01-19 18:14 分类:问答memory fences/barriers in C++: does boost or other libraries have them?
I am reading these days about memory fences and barriers as a way to synchronize multithreaded code and avoid code reordering.[详细]
2023-01-18 19:01 分类:问答How to use lock_guard when returning protected data
I have a question concerning the use of boost::lock_guard (or similar scoped locks) and using variables that should be protected by the lock in a return statement.[详细]
2023-01-18 12:42 分类:问答Why would a friend function be defined as part of a struct - boost thread_data?
I\'m trying to understand some boost code which is causing PC-Lint grief and uses the friend keyword in a way which I didn\'t think was legal C++ but compiles OK in VS2008.[详细]
2023-01-15 03:32 分类:问答What if I don't join thread on "destruction" in release builds?
In many cases I have classes that act like active objects (have a thread). And to avoid access violations I always have to wait for join in the destructor. Which is usually not a problem.[详细]
2023-01-15 02:35 分类:问答