comp.lang.ada
 help / color / mirror / Atom feed
From: Fabien Garcia <fabien.garcia@laas.fr>
Subject: Re: Ada.Task_Identification.Abort_Task (Environment_Task) ;
Date: Wed, 24 Jul 2002 10:35:55 +0200
Date: 2002-07-24T08:34:44+00:00	[thread overview]
Message-ID: <3D3E66EB.7080303@laas.fr> (raw)
In-Reply-To: ahjk4d$5t5$1@nh.pace.co.uk

Marin David Condic wrote:

> A: I can't periodically poll because the subsidiary tasks in question are
> hanging on socket I/O, so they're considered "busy". Why don't the
> "terminate" alternatives work? You tell me. Compiler bug? Some kind of
> corner case in the rules regarding tasks? 

Are task able to abort while waiting for data on sockets ?
I'm still a bit new to Ada and sockets but in C you have non blocking 
calls that check for data being present on the socket and then returns 
with or without data. It might do the trick in your case.
(sorry this is only a guess)

Fabien




  parent reply	other threads:[~2002-07-24  8:35 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-12 17:13 Ada.Task_Identification.Abort_Task (Environment_Task) ; Marin David Condic
2002-07-13 13:45 ` Simon Wright
2002-07-13 22:12   ` Robert Dewar
2002-07-13 14:12 ` Robert A Duff
2002-07-15 12:52   ` Marin David Condic
2002-07-15 23:31     ` tmoran
2002-07-18 21:32     ` Robert A Duff
2002-07-19 12:55       ` Marin David Condic
2002-07-20 17:18         ` Robert A Duff
2002-07-22 12:53           ` Marin David Condic
2002-07-23  6:08             ` tmoran
2002-07-23 13:02               ` Marin David Condic
2002-07-24  8:34                 ` Lutz Donnerhacke
2002-07-24 13:58                   ` Marin David Condic
2002-07-24  8:35                 ` Fabien Garcia [this message]
2002-07-24 23:20                 ` Dmitry A.Kazakov
2002-07-25  0:43                 ` Robert Dewar
2002-07-25  1:04                 ` tmoran
2002-07-16 20:43 ` Simon Wright
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox