yup, that's what i need, thanks all for the reply!
"Jarrett Billingsley" <[email protected]> wrote in message
news:[email protected]...
On Sat, Feb 21, 2009 at 9:04 AM, Christopher Wright <[email protected]>
wrote:
liyu wrote:
maybe i should title it assert or execption can't terminate the prog in
multithread:-)
yes, the main thread is still running, but i want the program terminated
when a assert failure or exception happened whatever. otherwise i have
to notify the main thread, i think that's a littel inconvenient.
You could make a feature request for Tango. That's where the issue lies.
It might not even be necessary. tango.core.Exception has a way to
replace the default assertion handler so that you can i.e. stop all
threads when an assertion fails.