At 09:50 PM 1/21/01 +0000, nick@ing-simmons.net wrote: >Dan Sugalski <dan@sidhe.org> writes: > >At 12:11 PM 1/21/01 +0000, Alan Burlison wrote: > >>By cancellation > >>point I mean somewhere that is defined as 'safe', i.e. not holding any > >>mutexes or waiting on any CVs etc. > >So what do we do if we die with a lock held? If user code die()s, then too darned bad for them, they have orphaned mutexes. Perl itself shouldn't ever die--a user-level die's a perfectly handlable thing, and there's no reason we can't have an orderly release of internally held resources. Dan --------------------------------------"it's like this"------------------- Dan Sugalski even samurai dan@sidhe.org have teddy bears and even teddy bears get drunkThread Previous | Thread Next