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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,c3c4ae45442f569e X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Alex R. Mosteo" Newsgroups: comp.lang.ada Subject: Re: [newbie question] tasks and protected types Date: Fri, 29 Apr 2005 12:34:53 +0200 Message-ID: <42720DCD.6030304@mailinator.com> References: <1114747457.868019.93210@f14g2000cwb.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net IQMCHMgD/sRplsn+Fc2nrQGGJYEqM1QU8rDHE1pM5gD11D2V4= User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050317) X-Accept-Language: en-us, en In-Reply-To: Xref: g2news1.google.com comp.lang.ada:10810 Date: 2005-04-29T12:34:53+02:00 List-Id: Jacob Sparre Andersen wrote: > protected body Printer is > procedure Put_Line (Item : in String) is > begin > Ada.Text_IO.Put_Line (Item => Item); > Ada.Text_IO.Flush; > end Put_Line; > end Printer; Isn't this considered a blocking operation? I've read that it is not something to avoid in practice, but this advice can be specific for GNAT. Just curious.