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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,7b6ebbd3cbca32ce X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!a32g2000prf.googlegroups.com!not-for-mail From: Anh Vo Newsgroups: comp.lang.ada Subject: Re: run tasks on events Date: Thu, 29 May 2008 11:56:15 -0700 (PDT) Organization: http://groups.google.com Message-ID: <25a7ce92-c4fc-4cd1-ad59-da225d5114e0@a32g2000prf.googlegroups.com> References: NNTP-Posting-Host: 209.225.225.235 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1212087376 14337 127.0.0.1 (29 May 2008 18:56:16 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 29 May 2008 18:56:16 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: a32g2000prf.googlegroups.com; posting-host=209.225.225.235; posting-account=Qh2kiQoAAADpCLlhT_KTYoGO8dU3n4I6 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; InfoPath.1; .NET CLR 3.0.04506.648),gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:454 Date: 2008-05-29T11:56:15-07:00 List-Id: On May 29, 3:31=A0am, Sebastian Hanigk wrote: > ahab writes: > > Have the task immediately call a suspension object or a protected > > entry. > > Hmm, this works only for one task if I'm not mistaken (a suspension > object allows only one blocking call to Suspend_Until_True at the same > time, a protected entry seems to have similar constraints). A solution > would be a suspension object per task, but this is far from the elegance > of HAL/S' signals. > > Sebastian It is not true. Protected entry, implemented in Transient Signals for example, can suspend/release multiple tasks. AV