[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: atpanic chaining?
- From: Rob Hoelz <rob@...>
- Date: Wed, 12 Oct 2011 09:22:34 -0500
On Wed, 12 Oct 2011 10:07:18 -0400
> Does lua_atpanic() add to the process for a panic condition or just
> replace the process?
> I am writing a set of libraries for communication using several
> protocols. In many situations more than one protocol is in use in a
> single application. Each protocol has its own shutdown procedure that
> should be called for a clean exit in a panic. If each protocol makes
> its own call to lua_atpanic() will all the panic functions be called
> or only the last one to be registered?
> Allan Pfalzgraf
> 4201 North 27 Street
> Milwaukee, WI 53216
> tel: 414 449-6872
> fax: 414 449-6616
> www.Eaton.com <http://www.eaton.com/>
Replaces. You could write a panic function that calls each member of a
list of panic functions, though.
Description: PGP signature