[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New function: remove_atexit
From: |
David Bateman |
Subject: |
Re: New function: remove_atexit |
Date: |
Tue, 29 May 2007 13:40:51 +0200 |
User-agent: |
Thunderbird 1.5.0.7 (X11/20060921) |
Michael Goffioul wrote:
> Hi,
>
> Following a proposal of David, I'd like to propose to add the
> remove_atexit
> function in the attached patch. This function is useful for unloading
> correctly
> a package that has done an "atexit" call. The attached code (written by
> David) implements such a function. I tested it and it works OK.
>
> Michael.
Thinking about it, it might be better to include this in atexit and use
a second boolean argument to define that atexit is supposed to remove
the function. That is "axexit (func, true)" (the default) to add a
function and "atexit (func, false)" to remove it... Also there is a typo
in the help string : Seacrch -> Search
D.
--
David Bateman address@hidden
Motorola Labs - Paris +33 1 69 35 48 04 (Ph)
Parc Les Algorithmes, Commune de St Aubin +33 6 72 01 06 33 (Mob)
91193 Gif-Sur-Yvette FRANCE +33 1 69 35 77 01 (Fax)
The information contained in this communication has been classified as:
[x] General Business Information
[ ] Motorola Internal Use Only
[ ] Motorola Confidential Proprietary