Boost logo

Boost Users :

Subject: [Boost-users] Main thread not exiting
From: developer1 (kamath.rachna_at_[hidden])
Date: 2008-10-31 07:39:03


I have created a thread pool library which maintains a worker thread queue
and a work queue. Any Application class using this library passes functors
to ThreadPool.

I am using a ThreadGroup to manage all threads.

I use the thread_group.join_all(), to wait for all threads to finish before
the main thread exits.

But on joining the threads in the thread_group, the main thread fails to

Am i missing something.

View this message in context:
Sent from the Boost - Users mailing list archive at

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at