[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: RFC: Proper destruction of static data?
From: Harri Porten <porten () tu-harburg ! de>
Date: 2000-06-27 19:27:08
[Download RAW message or body]
Werner Trobin wrote:
>
> We #define KSTATIC static and let some magic tool look
> for KSTATIC in the sources. It extracts all the variable
> names (only static pointers to objects are allowed) and
> creates a "clean up" function. This function deletes all
> the objects when the lib gets unloaded...
>
> Am I completely wrong? Do I miss something important?
> Comments, suggestions, flames...?
Sounds very interesting. My comment/suggestion: order of destruction can
be quite important. Therefore, it has to be well defined and documented.
Harri.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic