Bill Lam wrote:
> Just after a socket is created, it is in writable state, so that sdselect will
> put it into the write fds.  Will there be any possibility that httpSend will
> close this socket before httpRecv can handle it?

Not with the current single-threaded implementation of J.
 
The socket will not be seen by sdselect until socket_handler
gets run, and socket_handler won't run until the interpreter
hits three-space-indent.
 
-- 
Raul
 
 
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to