
24 Nov
2007
24 Nov
'07
2:38 a.m.
Hi,
On 11/24/07, Rij
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!