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=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5997b4b7b514f689 X-Google-Attributes: gid103376,public From: Mats Weber Subject: Re: Reading a line of arbitrary length Date: 1997/02/17 Message-ID: <33085BF9.3991@elca-matrix.ch>#1/1 X-Deja-AN: 219462601 References: <5ds40o$rpo@fg70.rz.uni-karlsruhe.de> <33032AE2.666F@mds.lmco.com> <33037A74.44AF@mds.lmco.com> <330481C5.5096@elca-matrix.ch> Content-Type: text/plain; charset=us-ascii Organization: ELCA Matrix SA Mime-Version: 1.0 Reply-To: Mats.Weber@elca-matrix.ch Newsgroups: comp.lang.ada X-Mailer: Mozilla 3.01 (Macintosh; I; PPC) Date: 1997-02-17T00:00:00+00:00 List-Id: > < be that way in this case because the type String_Access is a global > access type, potentially visible from any task.>> > > There is no issue of visibility here, just because an access type is > visible to more than one task does not mean that it has to be allocated > in a global heap. Indeed, a very reasonable approach for *all* allocation > activity is to allocate from task local sub-storage pools to avoid the > expense of global task locking for allocation. This approach is quite > general, and applies to general and pool-specific access types. Interesting. But what happens to the task-local sub-storage when the task terminates ? Is there a paper or other documentation where I can find information about how memory allocation problems are solved in GNAT ?