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-Thread: a07f3367d7,385c146dd3112519 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII X-FeedAbuse: http://nntpfeed.proxad.net/abuse.pl feeded by 88.191.16.109 Path: g2news1.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!nntpfeed.proxad.net!nospam.fr.eu.org!usenet-fr.net!gegeweb.org!aioe.org!news.tornevall.net!not-for-mail From: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: Private or public task ? Date: Fri, 05 Feb 2010 14:38:08 -0700 Organization: TornevallNET - http://news.tornevall.net Message-ID: References: NNTP-Posting-Host: 96d5c8ac0a2c263ac379295789d4fbe1 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: e999b5a3d34b253514abdc52fbd20eff X-Complaints-To: abuse@tornevall.net X-Complaints-Language: Spoken language is english or swedish - NOT ITALIAN, FRENCH, GERMAN OR ANY OTHER LANGUAGE! In-Reply-To: X-Validate-Post: http://news.tornevall.net/validate.php?trace=e999b5a3d34b253514abdc52fbd20eff X-SpeedUI: 1738 X-Complaints-Italiano: Parlo la lingua non � italiano User-Agent: Thunderbird 2.0.0.23 (X11/20090817) X-Posting-User: 0243687135df8c4b260dd4a9a93c79bd Xref: g2news1.google.com comp.lang.ada:8919 Date: 2010-02-05T14:38:08-07:00 List-Id: Hibou57 (Yannick Duch�ne) wrote: > > So I wanted to solve this, and added a protected object providing an > Put procedure which was displaying the same message, all three > statement in an atomic procedure. Technically this is a bounded error: Ada.Text_IO.Put* operations are potentially blocking, and should not be called from a protected operation. > Later, I advised the task may terminates while some potential clients > may still be alive, or even the task may terminates before any client > had time to make any first request. This should not happen. Did you actually experience this? -- Jeff Carter "He didn't get that nose from playing ping-pong." Never Give a Sucker an Even Break 110