From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jon Wilson Newsgroups: gmane.lisp.guile.user Subject: Re: atexit function Date: Sun, 17 Sep 2006 19:44:44 -0500 Message-ID: <450DEBFC.1080101@fastmail.fm> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7BIT X-Trace: sea.gmane.org 1158540278 32657 80.91.229.2 (18 Sep 2006 00:44:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 18 Sep 2006 00:44:38 +0000 (UTC) Cc: guile-user Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Sep 18 02:44:36 2006 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GP7FM-0001W6-CK for guile-user@m.gmane.org; Mon, 18 Sep 2006 02:44:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GP7FL-0005wB-UN for guile-user@m.gmane.org; Sun, 17 Sep 2006 20:44:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GP7FF-0005qe-UK for guile-user@gnu.org; Sun, 17 Sep 2006 20:44:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GP7FD-0005k8-5X for guile-user@gnu.org; Sun, 17 Sep 2006 20:44:20 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GP7FD-0005jj-0y for guile-user@gnu.org; Sun, 17 Sep 2006 20:44:19 -0400 Original-Received: from [131.225.111.12] (helo=mailgw2.fnal.gov) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GP7Hw-0005vs-5D for guile-user@gnu.org; Sun, 17 Sep 2006 20:47:08 -0400 Original-Received: from mailav2.fnal.gov (mailav2.fnal.gov [131.225.111.20]) by mailgw2.fnal.gov (iPlanet Messaging Server 5.2 HotFix 2.06 (built Mar 28 2005)) with SMTP id <0J5R00LZEJDSX9@mailgw2.fnal.gov> for guile-user@gnu.org; Sun, 17 Sep 2006 19:44:16 -0500 (CDT) Original-Received: from mailgw2.fnal.gov ([131.225.111.12]) by mailav2.fnal.gov (SAVSMTP 3.1.7.47) with SMTP id M2006091719441510005 for ; Sun, 17 Sep 2006 19:44:15 -0500 Original-Received: from conversion-daemon.mailgw2.fnal.gov by mailgw2.fnal.gov (iPlanet Messaging Server 5.2 HotFix 2.06 (built Mar 28 2005)) id <0J5R00701J15CB@mailgw2.fnal.gov> (original mail from j85wilson@fastmail.fm) for guile-user@gnu.org; Sun, 17 Sep 2006 19:44:16 -0500 (CDT) Original-Received: from [192.168.0.2] (cpe-24-162-120-52.hot.res.rr.com [24.162.120.52]) by mailgw2.fnal.gov (iPlanet Messaging Server 5.2 HotFix 2.06 (built Mar 28 2005)) with ESMTPSA id <0J5R00E5PJDQD9@mailgw2.fnal.gov>; Sun, 17 Sep 2006 19:44:15 -0500 (CDT) In-reply-to: Original-To: Marco Maggi X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050324) X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:5515 Archived-At: 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. Regards, Jon 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. > > _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user