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.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e2b1bd6557babda6,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-07-12 07:03:33 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!t-online.de!peernews3.colt.net!news0.de.colt.net!news-fra1.dfn.de!news.man.poznan.pl!newsfeed.gazeta.pl!news.onet.pl!not-for-mail From: "kat-Zygfryd" <6667@wp.pl> Newsgroups: comp.lang.ada Subject: Terminating a task Date: Sat, 12 Jul 2003 16:03:27 +0200 Organization: news.onet.pl Sender: samael_@op.pl@sc70.internetdsl.tpnet.pl Message-ID: NNTP-Posting-Host: sc70.internetdsl.tpnet.pl X-Trace: news.onet.pl 1058018614 23924 80.55.80.70 (12 Jul 2003 14:03:34 GMT) X-Complaints-To: abuse@onet.pl NNTP-Posting-Date: 12 Jul 2003 14:03:34 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Xref: archiver1.google.com comp.lang.ada:40233 Date: 2003-07-12T14:03:34+00:00 List-Id: If I have a task running Get_Line (from an AdaSocket) how can I terminate this task from within another task? Simply shutting down the socket doesn't work as the thread is interrupted by an exception only when there is data sent from the client attached to the socket. kZ