Top "Boost-thread" questions

Boost.

Example for boost shared_mutex (multiple reads/one write)?

I have a multithreaded app that has to read some data often, and occasionally that data is updated. Right now …

c++ multithreading boost mutex boost-thread
why is string not declared in scope

I have the following code: #include <string> #include <boost/thread/tss.hpp> static boost::thread_specific_…

c++ boost-thread
C++0x has no semaphores? How to synchronize threads?

Is it true that C++0x will come without semaphores? There are already some questions on Stack Overflow regarding the …

c++ multithreading synchronization c++11 boost-thread
How to create a thread pool using boost in C++?

How do I create a thread pool using boost in C++, and how do I assign tasks to the threadpool?

c++ boost threadpool boost-asio boost-thread
Boost thread error: undefined reference

#include <boost/thread/thread.hpp> #include <iostream> void hello() { std::cout << "Hello world, I'm …

c++ boost boost-thread
C++ Thread Pool

What is a good open source implementation of a thread pool for C++ to use in production code (something like …

c++ multithreading boost threadpool boost-thread
shared_ptr Assertion px != 0 failed

I have a fairly complex multi threaded application (server) that from time to time will crash due to an assert: /…

shared-ptr boost-thread
What does boost::thread sleep() do?

I am currently working on a small wrapper class for boost thread but I dont really get how the sleep …

c++ wrapper boost-thread
How to pass an argument to boost::thread?

thread_ = boost::thread( boost::function< void (void)>( boost::bind( &clientTCP::run , this ) ) ); is it possible that run …

c++ boost boost-thread
(simple) boost thread_group question

I'm trying to write a fairly simple threaded application, but am new to boost's thread library. A simple test program …

c++ multithreading boost boost-thread