On Mon, Apr 28, 2008 at 10:39 PM, Rui Jorge Coelho <[EMAIL PROTECTED]>
wrote:
> Hi to all!
>
> Worker threads in scalable.c use a timeout in shttpd_poll to be notified
> when a new client socket is accepted. I cannot have threads polling
> every 100ms for new sockets, it delays and adds necessary syscalls.
No. Worker threads in scalable.c do not accept new connections. New
connections are accepted only by the main thread. Worker threads are serving
already accepted connections. If you are concerned about small polling
interval, increase it, say, to couple of minutes. That will save you
precious CPU cycles, so you do not need to waste them for the additional
pipe functionality.
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
shttpd-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shttpd-general