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, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,552fa40a9acfc28f X-Google-Attributes: gid103376,public From: Ted Dennison Subject: Re: Tasking and blocked threads Date: 1999/09/10 Message-ID: <7rb6es$ebh$1@nnrp1.deja.com>#1/1 X-Deja-AN: 523386771 References: <37D849AE.AC5EA4F1@res.raytheon.com> X-Http-Proxy: 1.0 x24.deja.com:80 (Squid/1.1.22) for client 204.48.27.130 Organization: Deja.com - Share what you know. Learn what you don't. X-Article-Creation-Date: Fri Sep 10 15:00:53 1999 GMT X-MyDeja-Info: XMYDJUIDtedennison Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.6 [en] (WinNT; I) Date: 1999-09-10T00:00:00+00:00 List-Id: In article <37D849AE.AC5EA4F1@res.raytheon.com>, Andy Askey wrote: > I added delay statements to see if one task would block the other, but > it did not. I added a Task_Two package and execution control was passed > between all three threads. I thought I understood from previous answers > that this was not expect behavior. Does this mean I can write an Ada95 > program with several independent tasks and not worry about one task > blocking another? (Stealing CPU cycles yes, but not really blocking.) That depends entirely on your tasking model. The only one defined by the language is FIFO_Within_Priorities (and that only if your compiler supports annex D). -- T.E.D. Sent via Deja.com http://www.deja.com/ Share what you know. Learn what you don't.