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.4 required=5.0 tests=BAYES_00,SUBJ_ALL_CAPS
autolearn=no autolearn_force=no version=3.4.4
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103376,51359402da60c472
X-Google-Attributes: gid103376,public
X-Google-ArrivalTime: 2003-06-21 06:06:37 PST
Path:
archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news.tele.dk!news.tele.dk!small.news.tele.dk!proxad.net!wanadoo.fr!not-for-mail
From: Pascal Obry
Newsgroups: comp.lang.ada
Subject: Re: DYNAMIC ADA TASK CREATION?
Date: 21 Jun 2003 15:06:32 +0200
Organization: Home - http://perso.wanadoo.fr/pascal.obry
Message-ID:
References:
<3EF0026E.2050309@attbi.com>
<39l1fv8ig2hr2bpsf786ao6a9it649bfnj@4ax.com>
NNTP-Posting-Host: avelizy-103-1-5-143.w80-13.abo.wanadoo.fr
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news-reader3.wanadoo.fr 1056200796 28054 80.13.115.143 (21 Jun 2003
13:06:36 GMT)
X-Complaints-To: abuse@wanadoo.fr
NNTP-Posting-Date: 21 Jun 2003 13:06:36 GMT
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.95
Xref: archiver1.google.com comp.lang.ada:39529
Date: 2003-06-21T13:06:36+00:00
List-Id:
"avram" writes:
> Thanx, but i think that the loop is not efficient. I mean this is an
> active waiting, so my main process use CPU without sense. I would like to
> know if there is way to deallocation of a memory without active waiting.
No. The whole point of the loop is to waity for the task to terminate before
freeing memory. How do you expect to be able to free memory of an active
task ?
Note that this loop will iterate once or twice in most of the case. Not a big
deal.
Pascal.
--
--|------------------------------------------------------
--| Pascal Obry Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--| http://perso.wanadoo.fr/pascal.obry
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595