|
Boost Users : |
Subject: [Boost-users] Main thread not exiting
From: developer1 (kamath.rachna_at_[hidden])
Date: 2008-10-31 07:39:03
Hi,
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
exit.
Am i missing something.
-- View this message in context: http://www.nabble.com/Main-thread-not-exiting-tp20264225p20264225.html Sent from the Boost - Users mailing list archive at Nabble.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