|
Boost Users : |
From: dhruva (dhruvakm_at_[hidden])
Date: 2007-11-23 21:38:14
Hi,
On 11/24/07, Rij <rij.ghosh_at_[hidden]> wrote:
> When I run it, I get the following error:
> terminate called after throwing an instance of 'boost::thread_resource_error'
> what(): boost::thread_resource_error
> Abort (core dumped)
IMO, the thread is terminating before your call to 'join'. Considering
putting a 'sleep' in the thread function (() operator) or put a 'while
true' loop to keep the thread alive. You can use signals/events to
notify the thread when it has to exit in a more complete scenario.
-dky
-- Contents reflect my personal views only!
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