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 X-Google-Thread: 103376,20324ebb3709048c X-Google-Attributes: gid103376,public From: Ted Dennison Subject: Re: Terminate program in Ada95 Date: 2000/11/27 Message-ID: <3A226701.4000207@telepath.com>#1/1 X-Deja-AN: 698237691 Content-Transfer-Encoding: 8bit References: <975328139.872809@edh3> X-Accept-Language: en,pdf Content-Type: text/plain; charset=ISO-8859-1; format=flowed X-Complaints-To: Abuse Role , We Care X-Trace: monger.newsread.com 975333305 38.195.186.125 (Mon, 27 Nov 2000 08:55:05 EST) Organization: Telepath Systems (telepath.com) MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; m18) Gecko/20001108 Netscape6/6.0 NNTP-Posting-Date: Mon, 27 Nov 2000 08:55:05 EST Newsgroups: comp.lang.ada Date: 2000-11-27T00:00:00+00:00 List-Id: Atle R�stad wrote: > they will not do). Since I'm not allowed to modify the tasks I'm reusing I > want an command that terminates the whole program. (Like java.system.exit() > in java). The way I see it, your choices are: * Issue a "terminate" command for those wayward tasks. This requires visibility to the task declarations, which means that if the task is declared only within a package body somewhere, you will need to write some kind of "kill" procedure in that package. * See if your OS has some kind of "Exit" system call, and use that. That is *exactly* what you are doing in Java when you do a "java.system.exit()". -- T.E.D. Home - mailto:dennison@telepath.com Work - mailto:dennison@ssd.fsi.com WWW - http://www.telepath.com/dennison/Ted/TED.html ICQ - 10545591