Bart Schuller <[EMAIL PROTECTED]> writes: >At 2:21 PM +0200 9/2/02, Elizabeth Mattijsen wrote: >>Is there a way to let a thread stop without using die()? Other than >>return() from the top level of the thread, of course. Or is there a way > >If the preferred way of exiting a thread *is* a return from the top >level, then it seems to me that each thread sub should look like > > eval { > # real code here > } > return; > >That way you know die does the right thing.
There is an eval {} equivalent in the C code. -- Nick Ing-Simmons http://www.ni-s.u-net.com/