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=2.1 required=5.0 tests=BAYES_20,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,c1eb2426ab1cc481,start X-Google-Attributes: gid103376,public From: Michael Ibarra Subject: Tasking In Ada 83 "Question" Date: 1997/03/18 Message-ID: <332F3050.74B8@mccabe.com>#1/1 X-Deja-AN: 226568656 Organization: Mccabe & Associates Reply-To: ibarra@mccabe.com Newsgroups: comp.lang.ada Date: 1997-03-18T00:00:00+00:00 List-Id: Does anyone know??? I have a task, and I want to perform some action when I know that my task has terminated. I can't tell when it has terminated. My task looks something like: Task Body timer is begin loop select accept receive_call do null; end receive_call; or terminate; end select; end loop; end timer; My problem is that in order to check the terminated attribute of the task, I need to with the package that is parent/master to the task, therefore preventing it from becoming terminated. I'm doing: WITH task_Package; . . . IF task_package.timer'TERMINATED THEN... This is NEVER true. Is there any way that I can konw when this task has terminated. I wanted to perform some jobs ONLY after this task is terminated. Any ideas??? Thanks in advance, Michael Ibarra