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,7916caeb194e9cc2 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-04-12 16:44:02 PST Path: supernews.google.com!sn-xit-03!supernews.com!news-feed.riddles.org.uk!news.litech.org!news.ems.psu.edu!news.cis.ohio-state.edu!news.maxwell.syr.edu!newshub2.home.com!news.home.com!news1.rdc1.sfba.home.com.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: Problem with intertask comm References: <3ad62703$0$190$456d72a3@news.skynet.be> X-Newsreader: Tom's custom newsreader Message-ID: Date: Thu, 12 Apr 2001 23:41:31 GMT NNTP-Posting-Host: 24.20.190.201 X-Complaints-To: abuse@home.net X-Trace: news1.rdc1.sfba.home.com 987118891 24.20.190.201 (Thu, 12 Apr 2001 16:41:31 PDT) NNTP-Posting-Date: Thu, 12 Apr 2001 16:41:31 PDT Organization: Excite@Home - The Leader in Broadband http://home.com/faster Xref: supernews.google.com comp.lang.ada:6845 Date: 2001-04-12T23:41:31+00:00 List-Id: >listener to a sender... the tasks thus have to be on the same level of scope >to be assigned a reference to each other, or am I wrong? And why can't you put them at the same level? >> you must be able to certify that the object can't possibly ever be used As T.E.D. pointed out, requiring an Unchecked_Access is not just the compiler trying to be difficult. If you use it you are taking full responsibility that the program won't try to use a pointer that's pointing into the weeds. Don't do it unless you must, and safely can.