comp.lang.ada
 help / color / mirror / Atom feed
* Advice on abort
@ 2005-11-04 15:25 REH
  2005-11-04 17:15 ` Marc A. Criley
                   ` (2 more replies)
  0 siblings, 3 replies; 22+ messages in thread
From: REH @ 2005-11-04 15:25 UTC (permalink / raw)


What are the best options when a task needs to be terminated, but
signaling the task may not be possible?  We have tasks that sometimes
need to be terminated, but may potentially be blocked on a resource,
such as a socket.  Currently we use OS-specific calls to terminate the
task, but I've never liked that.  I've been thinking of using the abort
statement, but I don't think that's very graceful either.  I also would
rather not complicate the code (or force polling behavior) by making
the sockets non-blocking.  Any advice?




^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2005-11-09 17:14 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-04 15:25 Advice on abort REH
2005-11-04 17:15 ` Marc A. Criley
2005-11-04 18:21 ` Dmitry A. Kazakov
2005-11-04 18:35   ` REH
2005-11-05 18:33   ` Simon Wright
2005-11-05 21:23     ` REH
2005-11-06 11:17       ` Simon Wright
2005-11-06 13:58         ` REH
2005-11-06 20:08           ` Simon Wright
2005-11-06 20:41             ` REH
2005-11-07 14:55 ` Poul-Erik Andreasen
2005-11-07 17:09   ` REH
2005-11-07 18:03     ` Dmitry A. Kazakov
2005-11-08 14:54       ` Poul-Erik Andreasen
2005-11-08 16:14         ` Dmitry A. Kazakov
2005-11-08 16:42           ` Marc A. Criley
2005-11-08 16:59           ` Poul-Erik Andreasen
2005-11-08 20:05             ` Dmitry A. Kazakov
2005-11-09 14:12               ` Poul-Erik Andreasen
2005-11-09 17:14                 ` Dmitry A. Kazakov
2005-11-08 16:32         ` Marc A. Criley
2005-11-08 14:35     ` Poul-Erik Andreasen

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