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,FREEMAIL_FROM, 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,20324ebb3709048c X-Google-Attributes: gid103376,public From: Mats Weber Subject: Re: Terminate program in Ada95 Date: 2000/11/27 Message-ID: <3A226987.325D7B24@mail.com>#1/1 X-Deja-AN: 698250708 Content-Transfer-Encoding: 7bit References: <975328139.872809@edh3> X-Accept-Language: en,pdf Content-Type: text/plain; charset=us-ascii Organization: VTX Services SA Mime-Version: 1.0 Reply-To: matsw@mail.com Newsgroups: comp.lang.ada Date: 2000-11-27T00:00:00+00:00 List-Id: If it is UNIX or UNIX-like (which it probably is if you are using sockets) then you can close the sockets with pending I/O operations from outside the task doing the socket I/O. This will make any pending opertion on the socket exit with an error code that is hopefully handled in the task. My advice: get the termination problems right as soon as possible. Doing it afterwards, when the complexity of your application will have increased, will be very difficult.