Re: Interrupting a socket waiting on nlAcceptConnection() or nlRead()?


[ Follow Ups ] [ Post Followup ] [ Back To Message Board ]

Posted by Phil Frisbie, Jr. on February 09, 2006 at 09:42:01:

In Reply to: Re: Interrupting a socket waiting on nlAcceptConnection() or nlRead()? posted by David on February 08, 2006 at 17:48:36:

:
: But then what's the accepted way to interrupt a thread blocking on IO?

If you are not shutting down the program then there is none.

If you upgrade your version of HawkNL you can use nlPollSocket() to impose a timeout so you can cleanly end the thread if you wish.

Phil


Follow Ups:


Post a Followup

Name:
E-Mail:

Subject:

Comments:



[ Follow Ups ] [ Post Followup ] [ Back To Message Board ]