Boost logo

Boost Users :

From: Caleb Epstein (caleb.epstein_at_[hidden])
Date: 2005-08-06 10:31:28


On 8/5/05, Labour, Matthieu (MLPRO SF) <matthieu_labour_at_[hidden]> wrote:

> There are 2 threads.
> One thread creates Objects using boost::object_pool and enqueues them into a
> stl queue.

Are you using a mutex to protect the push/pop operations on the queue?
 If not, then this is your problem.

-- 
Caleb Epstein
caleb dot epstein at gmail dot com

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net