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,1b417df64012e6d3 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-03-17 11:46:55 PST Newsgroups: comp.lang.ada Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!t-online.de!deine.net!newsfeed.online.be!zur.uu.net!ash.uu.net!world!news From: Robert A Duff Subject: Re: tasks, protected types and entries Sender: news@world.std.com (Mr Usenet Himself) Message-ID: Date: Sun, 17 Mar 2002 19:46:16 GMT References: <%12l8.9656$%_6.1717935@news11-gui.server.ntli.net> <562l8.9685$%_6.1720374@news11-gui.server.ntli.net> <3C94BA62.3050102@worldnet.att.net> NNTP-Posting-Host: shell01.theworld.com Organization: The World Public Access UNIX, Brookline, MA X-Newsreader: Gnus v5.7/Emacs 20.7 Xref: archiver1.google.com comp.lang.ada:21376 Date: 2002-03-17T19:46:16+00:00 List-Id: "Sergey Koshcheyev" writes: > By the way, what is the difference between a procedure X and an "entry X > when True" in a protected object? I remember that the "entry when True" was > used once in John Barnes' book, but I couldn't find an explanation of the > difference. An entry can requeue; a procedure cannot. So if you want to do something unconditionally and then perhaps requeue, you need a "when True" entry barrier. - Bob