
23 Nov
2007
23 Nov
'07
7:38 p.m.
Hi, On 11/24/07, Rij <rij.ghosh@gmail.com> 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!