boost-thread
Boost Client getting stuck
http://www.boost.org/doc/libs/1_46_0/doc/html/boost_asio/example/chat/chat_client.cpp I am working on client application based on he example above.[详细]
2023-02-20 21:31 分类:问答Can't link against Boost.Thread 1.46.1 with MinGW 4.5.2
I\'ve built boost using: bjam --toolset=gcc --with-thread stage Whenever I\'m trying to actually use Boost.Thread I\'m getting undefined references although I link against it. It doesn\'t happen wi[详细]
2023-02-20 18:07 分类:问答Boost Thread dies before job finished
I am using the boost library to implement a socket communication. In respect to my main application, a connection handler should be launched who deals with all incoming requests.[详细]
2023-02-19 16:17 分类:问答Is it expected that use of boost::thread_specific_ptr<>::get() be slow? Any work arounds?
I\'m currently profiling an application with performance problems using Valgrind\'s \"Callgrind\". In looking at the profiling data, it appears that a good 25% of processing time is being spent inside[详细]
2023-02-18 07:43 分类:问答how can I temporarily pause other threads using boost::thread?
I have a program with 2 threads (A and B). Is it possible to define a block of code in thread B, which once entered pauses thread A until the block has finished executing?[详细]
2023-02-15 10:10 分类:问答Interrupting a boost::thread while interruptions are disabled
While using boost::threads I have come across this interruption problem. When I do a boost::thread_interrupt from thread A on thread B, while B has interrupts disabled (bo开发者_StackOverflow社区ost::[详细]
2023-02-14 21:52 分类:问答My program crashes in boost::thread::thread_start_function, how can I debug
I\'ve build C++ program using Visual Studio 2008. Both release and debug version are crashing at random times. The frequency of the crashes depends on the machine it runs on (from once a week to every[详细]
2023-02-12 19:56 分类:问答Possible deadlock in C++/boost/thread
Suppose the following code is run on single-core processor: #include <cstdio> #include <boost/thread.hpp>[详细]
2023-02-11 06:29 分类:问答Can multithreading speed up memory allocation?
I\'m working with an 8 core processor, and am using Boost threads to run a large program. Logically, the program can be开发者_开发知识库 split into groups, where each group is run by a thread.[详细]
2023-02-08 07:48 分类:问答assignment operator for classes having a non copyable boost::mutex
I am reading here this old Boost Thread FAQ where there is a guideline to implement copy-construct开发者_开发问答ion and assignment operator for classes having a boost::mutexnon-copyable object as mem[详细]
2023-02-06 08:56 分类:问答