On Thu, Feb 14, 2013 at 2:28 PM, Jacob Groundwater <[email protected]>wrote:
> This may depend on how node-core interfaces with the socket library. If a > C++ thread is calling accept() on incoming sockets while you are blocking > the main loop with your computation, you will have a bunch of queued > requests that do not get fulfilled by a non-busy processes. If however > accept() is only called once per tick, you shouldn't have outstanding > requests in waiting. > accept() is called by a read event on the socket, as part of the event loop, like in any event loop based system. So effectively it will have to wait until your CPU calculation is complete and you give control back to the event loop. -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
