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.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1583af5ff29435e5 X-Google-Attributes: gid103376,public From: Florian Weimer Subject: Re: Dynamic allocation of tasks Date: 2000/03/22 Message-ID: <874s9yd6s2.fsf@deneb.cygnus.argh.org>#1/1 X-Deja-AN: 601200052 References: <87r9d3gvix.fsf@deneb.cygnus.argh.org> <8basg1$627$1@nnrp1.deja.com> <87ya7aewb8.fsf@deneb.cygnus.argh.org> Mail-Copies-To: never Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@cygnus.argh.org X-Trace: deneb.cygnus.argh.org 953761133 17386 192.168.1.2 (22 Mar 2000 21:38:53 GMT) Organization: Penguin on board User-Agent: Gnus/5.0804 (Gnus v5.8.4) Emacs/20.6 Mime-Version: 1.0 Reply-To: Florian Weimer NNTP-Posting-Date: 22 Mar 2000 21:38:53 GMT Newsgroups: comp.lang.ada Date: 2000-03-22T21:38:53+00:00 List-Id: lutz@iks-jena.de (Lutz Donnerhacke) writes: > * Florian Weimer wrote: > >What's the effect of an abort statement if the task in question is > >blocked in a syscall (such as read(2))? > > OS depended: May block forever. Yes, but we can assume an OS where unkillable processes stuck in the kernel are considered buggy kernel behavior (e.g., Linux). In my last posting, I have failed to mention a piece of information which might be important: after an "abort Some_Task;", "Some_Task'Terminated' never became true (even if I waited three or five seconds before examining the attribute). In fact, this motivated my first RM interpretation that an abnormal task is not a terminated task. (No, compiler behavior does not determine my RM interpretations, but it suggest the direction in which I search for evidence. The Ada tasking stuff is rather new to me, and I don't see the whole picture yet.)