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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Jeffrey Carter Newsgroups: comp.lang.ada Subject: Re: Ravenscar vs selective wait Date: Tue, 24 Mar 2015 10:16:58 -0700 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Injection-Date: Tue, 24 Mar 2015 17:16:10 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="3f77efd256cd7097938236a53a6861ee"; logging-data="1051"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+HEP1UDeKWDBb8fS2dMOpyT2PRT5abARs=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 In-Reply-To: Cancel-Lock: sha1:t6iEPDoETkiNhTDjJnoN4sPDtdM= Xref: news.eternal-september.org comp.lang.ada:25232 Date: 2015-03-24T10:16:58-07:00 List-Id: On 03/24/2015 02:21 AM, J-P. Rosen wrote: > > Some hint however: I have a record containing a PO similar to what Jeff > suggests, and a Timing_Event that unblocks the PO when the delay has > expired. Similarly, the Wait entry has an out parameter to tell whether > it's been awaken by an event or by time-out. I hadn't considered a timing event, thinking they were excluded. Now I see that only local timing events are prohibited. A timing event would be better than a task that polls. -- Jeff Carter "I've seen projects fail miserably for blindly applying the Agile catechism: we're Agile, we don't need to stop and think, we just go ahead and code!" Bertrand Meyer 150