Maybe a problem with boost::object_pool?
Hi
I have a simple program running on Linux.
The program implements an Active Object and uses boost::object_pool and
boost::thread
It cores when sending lots of messages
Here is the message I get when running gdb
#0 0x0804b840 in boost::simple_segregated_storage<unsigned
int>::ordered_free (this=0x988b4d0, chunk=0x988bf2c)
at simple_segregated_storage.hpp:46
46 { return *(static_cast
On 8/5/05, Labour, Matthieu (MLPRO SF)
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
participants (2)
-
Caleb Epstein
-
Labour, Matthieu (MLPRO SF)