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,5b0308c42409e5df X-Google-Attributes: gid103376,public From: "R. Tim Coslet" Subject: Re: Protected Objects (Geeenhills & VxWorks) Date: 2000/02/10 Message-ID: <38A33894.D9D4F1B5@kaisere.com>#1/1 X-Deja-AN: 584283514 Content-Transfer-Encoding: 7bit References: <38A30F81.F0CAF1E6@kaisere.com> <38A31EF9.ECE0B395@averstar.com> Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@pacbell.net X-Trace: typhoon-la.pbi.net 950220788 206.170.2.191 (Thu, 10 Feb 2000 14:13:08 PST) Organization: SBC Internet Services MIME-Version: 1.0 NNTP-Posting-Date: Thu, 10 Feb 2000 14:13:08 PST Newsgroups: comp.lang.ada Date: 2000-02-10T00:00:00+00:00 List-Id: I have verified the timeline of events using WindView when the program runs successfully (I can't use WindView when it locks up... all I see then is that the system is totally idle except for the VxWorks support interrupts and the WindView support tasks). The sequence is always: 1) Main Loop calls Check_For_Timeout. 2) Main Loop calls some other routines to activate the I/O channels. 3) Main Loop calls the task entry for the I/O Processing task. 4) The I/O Processing Task calls Send and is suspended by the barrier. 5) Main Loop continues. 6) About 2 ms later the interrupt arrives from the I/O channel. 7) The Interrupt Task does its processing then calls Signal_Available. 8) The barrier is removed and Send runs in the context of the Interrupt Task. 9) The I/O Processing Task resumes and is suspended at its accept statement. These events happen every 3rd cycle through the Main Loop (as designed). I had expected (from what the LRM says) that if I prevented step 7 from happening, then the processing in steps 8 and 9 would follow the call the Check_For_Timeout in step 1 and Send would run in the context of the Main Loop task. R. Tim Coslet