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-7-bit X-Google-Thread: 103376,a046ce7f5ee1fa51 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-12-05 01:36:14 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.vmunix.org!fu-berlin.de!uni-berlin.de!tar-alcarin.cbb-automation.DE!not-for-mail From: Dmitry A. Kazakov Newsgroups: comp.lang.ada Subject: Re: new_line in a put_line Date: Thu, 05 Dec 2002 10:36:12 +0100 Message-ID: References: <8d9suu4d65a91bu1qf9hl0eb9dpo2h8c02@4ax.com> NNTP-Posting-Host: tar-alcarin.cbb-automation.de (212.79.194.111) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: fu-berlin.de 1039080972 27099073 212.79.194.111 (16 [77047]) X-Newsreader: Forte Agent 1.8/32.548 Xref: archiver1.google.com comp.lang.ada:31457 Date: 2002-12-05T10:36:12+01:00 List-Id: On Wed, 04 Dec 2002 18:11:24 GMT, tmoran@acm.org wrote: >> The problem as I see it, is of course that one tries to express a >> CRITICAL SECTION in terms of OBJECTS. This *cannot* be good. The first >> is about execution flow control the second is about data. > Then you should use a task. Maybe, Ada.Streams + a hidden task or something like Jeffrey Carter proposed. The problem (maybe a mental one) is than one would say - what a monster for such a simple thing! There can be two answers for that: A. It is inherently complex B. There should be a better solution [if we change the language] Honestly, I do not know which answer is right. --- Regards, Dmitry Kazakov www.dmitry-kazakov.de