[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: atexit function

From: Jon Wilson
Subject: Re: atexit function
Date: Sun, 17 Sep 2006 19:44:44 -0500
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050324)

Hi Marco,
I wonder if it is possible to use an async for this? I've never used asyncs, so I'm not sure of their capabilities, but it seems like that would be the natural way to implement something like this.

Marco Maggi wrote:
Is it possible to have an ATEXIT function? That is:
an interface to register thunks that are executed
when the script exits.

It would be useful for my test suite module, with
which test scripts are just top level invocation
to functions, without initialisation and finalisation.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]