Fred Gilham <[EMAIL PROTECTED]> writes:
> someone has commented out the part that makes the socket use > nonblocking I/O. As a curiosity, from what I gather, CL-HTTP has two approaches for handling incoming connections: using MP:MAKE-PROCESS on tcp-interface-mp.lisp and using SERVE-EVENT ADD-FD-HANDLER on tcp-interface.lisp. The files are conditionally chosen in sysdcl.lisp, based on #+MP. There seems to be a deliberate choice (in CL-HTTP, that is) of using multithreading with blocking IO vs. SERVE-EVENT with nonblocking IO there, since in one file the line is commented out and the other it isn't. So, out of curiosity, how does CMUCL's SERVE-EVENT compare to a multithreaded solution in this case (or maybe in a general case of event handling)? Or you can't compare? Or am I totally lost here? ;) BTW, Araneida also hooks into SYSTEM:ADD-FD-HANDLER and goes from there. Thanks! fc -- http://raw.no-ip.com/~fc/
