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-Thread: a07f3367d7,25642dc8f94534f6 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!feeder2.cambriumusenet.nl!feed.tweaknews.nl!195.71.90.67.MISMATCH!news.unit0.net!news.osn.de!diablo1.news.osn.de!news2.arglkargh.de!news.musoftware.de!wum.musoftware.de!news.tornevall.net!not-for-mail From: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: Basic question about select Date: Wed, 28 Apr 2010 21:25:42 -0700 Organization: TornevallNET - http://news.tornevall.net Message-ID: References: <1p2m3s7y70lsa$.79fl3we9edva$.dlg@40tude.net> NNTP-Posting-Host: 3db69abc32de9ebfaec224a7860e00af Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: e2b9f8cf5e53469d7cf75aaa0626a80f X-Complaints-To: abuse@tornevall.net X-Complaints-Language: Spoken language is english or swedish - NOT ITALIAN, FRENCH, GERMAN OR ANY OTHER LANGUAGE! In-Reply-To: X-Validate-Post: http://news.tornevall.net/validate.php?trace=e2b9f8cf5e53469d7cf75aaa0626a80f X-SpeedUI: 1738 X-Complaints-Italiano: Non abbiamo padronanza della lingua italiana - se mandate una email scrivete solo in Inglese, grazie User-Agent: Thunderbird 2.0.0.24 (X11/20100411) X-Posting-User: 0243687135df8c4b260dd4a9a93c79bd Xref: g2news2.google.com comp.lang.ada:11248 Date: 2010-04-28T21:25:42-07:00 List-Id: Adam Beneschan wrote: > > Is that necessarily the case? Since there aren't any priorities > specified, I don't think it's defined whether the body of the main > procedure (assuming it's a procedure) starts running first, or the > body of PID (assuming a single processor). That's a big assumption, especially today. From pretty cheap systems on up, almost everything has at least 2 processors these days. Certainly that's the case for the system on which I tested it, and found that it deadlocks as originally written, but doesn't if "delay 1.0;" is added to the task before the accept. -- Jeff Carter "From this day on, the official language of San Marcos will be Swedish." Bananas 28