comp.lang.ada
 help / color / mirror / Atom feed
From: Mats Weber <matsw@mail.com>
Subject: Re: Terminate program in Ada95
Date: 2000/11/27
Date: 2000-11-27T00:00:00+00:00	[thread overview]
Message-ID: <3A226987.325D7B24@mail.com> (raw)
In-Reply-To: 975328139.872809@edh3

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.




  parent reply	other threads:[~2000-11-27  0:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-27  0:00 Terminate program in Ada95 Atle R�stad
2000-11-27  0:00 ` Marc A. Criley
2000-11-27  0:00 ` Alfred Hilscher
2000-11-27  0:00   ` Warren W. Gay VE3WWG
2000-11-27  0:00 ` Robert A Duff
2000-11-27  0:00 ` Mats Weber [this message]
2000-11-27  0:00   ` Florian Weimer
2000-11-27  0:00 ` Ted Dennison
replies disabled

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