Re: Closing non-blocking network sockets

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sat, 16 May 1998 17:16:22 +0200

--MimeMultipartBoundary
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Stewart Forster wrote:

> > Either way we lose track of a used FD until it is fully shut down.
>
> We could always put a callback in on the aioClose() and get it
> to set the FD as free once the close completes...

Not unless we tag the fd_table position with a unique tag. The fd might
have been reused by the time the main-thread discovers that the aioClose
is completed.

/Henrik

--MimeMultipartBoundary--
Received on Tue Jul 29 2003 - 13:15:49 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:11:47 MST