Subject: Re: [boost] [thread] throw during new boost::thread() ??
From: David M. Cotter (me_at_[hidden])
Date: 2010-08-22 13:07:24
> If you're allocating with say new and forget to delete, you might be running out of thread handles as you'll have zombies hanging around.
okay that explains it. previously i had been using the pthread impl wrapped by MacOS thread manager calls. in that impl, when a thread exits, it self-disposes. i made an assumption (surprise) this would behave the same way. when i put a "delete thread" in the destructor, everything started working again!!
YAY thanks for that one little tip, something i should be well aware of at this point but you know, the forest / trees problem sometimes gets the best of us!
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk