boost-thread
std::map of boost::mutex with strange behaviour
I have this code: //// // Default Namespaces /// using namespace std; typedef map <string, boost::shared_mutex>t_map_shared_mutex;[详细]
2023-04-01 20:04 分类:问答Boost::threads work in debug, don't in release
I started doing threads about an hour ago and am having some trouble where the debug mode does what I expect and the release mode cashes.[详细]
2023-04-01 17:34 分类:问答Boost DYN_LNK vs. USE_DLL vs. USE_LIB
What is the difference between the following defines: #define BOOST_REGEX_DYN_LNK #define BOOST_REGEX_US开发者_JS百科E_DLL[详细]
2023-04-01 04:11 分类:问答wxWidgets and boost::thread?
I want to use boost to do background networking stuff in a loop while wxWidgets processes the GUI开发者_开发技巧. I just started using wxWidgets so my first idea was to just start in the thread with n[详细]
2023-03-31 18:21 分类:问答C++, Linux: error: conversion from ‘boost::unique_future<void>’ to non-scalar type ‘boost::shared_future<void>’ requested. how to get around it?
I try to work with boost thread futures. So as shown here we can get shared future from packaged task.[详细]
2023-03-31 17:29 分类:问答Intel TBB vs Boost
I my new application I have flexibility to decide the use of library for multi-threading. So far I was using pthread. Now want to explore cross platform library. I zero in on TBB and Boost. I didn\'t[详细]
2023-03-29 16:50 分类:问答How to find out how much CPU time was spent by boost Thread and all threads that thread has created?
So I create simple boost::thread it can create new threads that can create new threads etc. I want to be capable to get how much CPU time was 开发者_如何学Pythongiven to thread (and threads it has cre[详细]
2023-03-28 09:23 分类:问答boost::condition_variable.timed_wait return immediately
I\'m working on a little threading library and have run into a problem. boost::condition_variable.wait() works perfectly, however boost::condition_variable.timed_wait() returns immediately, it doesn\'[详细]
2023-03-24 09:26 分类:问答Boost library and CreateThread win API
Ihave a class such as : class MyStreamReader { public: MyStreamReader(MyPramameter myPram) {.....} ~MyStreamReader() {}[详细]
2023-03-23 17:56 分类:问答How to make class member function as thread function using boost
I am going to write an adapter class. In this class there is an xmlrpc-c server (abyss server). I want to start the server by creating a new thread, and the thread\'s function is the member function X[详细]
2023-03-21 01:29 分类:问答