From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,a6c65cbc407987fe X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-11-18 08:35:49 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed1.bredband.com!bredband!uio.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: dynamic multithreading Date: Mon, 18 Nov 2002 16:35:48 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: <3DD3D841.CD16A4CB@canal-plus.fr> <8MCB9.8643$8o1.1371873@news.xtra.co.nz> <3DD8AEAC.241AD1F8@canal-plus.fr> NNTP-Posting-Host: kiuk0152.chembio.ntnu.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: tyfon.itea.ntnu.no 1037637348 10669 129.241.83.78 (18 Nov 2002 16:35:48 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Mon, 18 Nov 2002 16:35:48 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux) Xref: archiver1.google.com comp.lang.ada:31056 Date: 2002-11-18T16:35:48+00:00 List-Id: Lutz Donnerhacke wrote: > Not necessary. This kind of "Garbage collection" is easy to implement: Free > all allocated data assigned to variables of a specific type if this type > goes out of space. But it doesn't make sense, because you can have two access variables. If the inner variable goes out of scope it should not free up the rest of the objects. I can understand if what you are talking about is a type with Finalize, but then you need to call Free in the Finalize function. But still an access to such a variable won't be detected by the Adajust function so how can you know if there are no more pointers to the object. -- Preben Randhol ------------------------ http://www.pvv.org/~randhol/ -- �There are three things you can do to a woman. You can love her, suffer for her, or turn her into literature.� - Justine, by Lawrence Durrell