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.1 required=5.0 tests=BAYES_00, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,d5977aa20216d24a X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-04-02 12:32:23 PST Path: supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.huji.ac.il!not-for-mail From: "Ehud Lamm" Newsgroups: comp.lang.ada Subject: Re: Ada Tasks vs Linux processes Date: Mon, 2 Apr 2001 21:20:15 +0300 Organization: The Hebrew University of Jerusalem Message-ID: <9aajmv$h8t$1@news.huji.ac.il> References: <8H2y6.21501$ea6.2010619@news1.frmt1.sfba.home.com> NNTP-Posting-Host: di3-92.dialin.huji.ac.il X-Trace: news.huji.ac.il 986239520 17693 132.64.13.92 (2 Apr 2001 19:25:20 GMT) X-Complaints-To: abuse@news.huji.ac.il NNTP-Posting-Date: Mon, 2 Apr 2001 19:25:20 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Xref: supernews.google.com comp.lang.ada:6370 Date: 2001-04-02T21:20:15+03:00 List-Id: > Right, but "delay 0.0;" will cause the task to go to the end of its > ready queue, so if there's any other task of the same priority waiting > to run, it will run. So "delay 0.0;" does what some systems call > "yield". (Assuming Annex D.) > To quote the LRM: The execution time of a delay_statement that does not cause the task to be blocked (e.g. �delay 0.0;� ) is of interest in situations where delays are used to achieve voluntary round-robin task dispatching among equal-priority tasks. (D.9 (14)) Ehud Lamm