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-04 09:29:02 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!hammer.uoregon.edu!skates!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: new_line in a put_line Date: 04 Dec 2002 12:24:47 -0500 Organization: NASA Goddard Space Flight Center (skates.gsfc.nasa.gov) Message-ID: References: <1ec946d1.0212020657.2bd8b5c@posting.google.com> <3DEE33A5.8080709@acm.org> NNTP-Posting-Host: anarres.gsfc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: skates.gsfc.nasa.gov 1039023367 5614 128.183.235.92 (4 Dec 2002 17:36:07 GMT) X-Complaints-To: usenet@news.gsfc.nasa.gov NNTP-Posting-Date: 4 Dec 2002 17:36:07 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: archiver1.google.com comp.lang.ada:31434 Date: 2002-12-04T17:36:07+00:00 List-Id: Jeffrey Carter writes: > Stephen Leake wrote: > > Assuming Lock is a controlled type, that releases the lock in > > Finalize, this [using a semaphore] is an excellent design. > > I would disagree. Using a high-level feature such as a protected type > to implement a low-level construct such as a semaphore is abstraction > inversion. I said nothing about a "protected" type; I was talking about a "controlled" type. -- -- Stephe