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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,dc89792b5613be6a X-Google-Attributes: gid103376,public From: "Michael Hartsough" Subject: Re: Converting Ada Tasks To VxWorks Tasks? Date: 2000/04/14 Message-ID: #1/1 X-Deja-AN: 611283845 References: <1crJ4.142$d21.18564@elnws01> <8d5ivg$ho9$1@nnrp1.deja.com> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 X-Trace: elnws01 955747915 24.29.206.244 (Fri, 14 Apr 2000 16:31:55 CDT) Organization: MediaOne Express -=- Central Region X-MSMail-Priority: Normal NNTP-Posting-Date: Fri, 14 Apr 2000 16:31:55 CDT Newsgroups: comp.lang.ada Date: 2000-04-14T00:00:00+00:00 List-Id: "Robert A Duff" wrote in message news:wccaeiwblzf.fsf@world.std.com... > > No, that's not quite right. The choice is "arbitrary" by default, which > means that the Ada run-time system can always pick the first one. It is > not (necessarily) random. If you select the Priority_Queuing policy, > then it's more deterministic: it always picks the first one (see > D.4(14)). The major problem I've got is that although there are several features which get me nearly there, there's no feature that solves everything, and I don't see a way of combining features to find a collective solution. There's a Select statement, but you can only use it with Pipes. Pipes would be okay, but they run on top of VxWork message queues and the messages aren't queued in priority order (okay, you Do get a choice of two priorities. Normal and High, but I see that as so restricted as to be useless). VxWorks implements POSIX queues which have 32 priority levels, which would be sufficient for my needs, but Pipes don't use them. So you can't use the Select statement. Semaphores have priority queues, but I haven't figured out a way to implement a Select statement that'll use semaphores and be able to handle a guarded accept without performing some sort of polling. Anyways, if anyone can provide me with some references to work that's already been accomplished in this area I'd be mighty grateful. Thanks, MJH