31 Jul
2013
31 Jul
'13
8:47 p.m.
On Jul 31, 2013, at 4:32 PM, Philip Bennefall
I am making fairly heavy use of the interrupt method call of the thread class, and I am wondering whether I should be catching the boost::thread_interrupted exception from within my thread function? I currently do not and my program runs fine, but I am wondering whether this is defined behavior or whether I should always be catching the exception and returning from the function inside the handler?
If you don't need to react to the interruption, what you're doing is just fine. ___ Rob (Sent from my portable computation engine)