Hi Tom, In this specific case, it is not about using multi-core CPUs, but about not blocking the main thread with heavy processing tasks, nor passing request / response data for read / write operations between threads. In addition, spawn multiple process is not always applicable when what you want it to process a FIFO queue of connections sequentially, deals with a single resource like a DB connection, etc. What I need is a lightweight way to pass an handle of an accepted tcp connection between threads, unregistering it from the main loop an registering it in the worker thread loop.
-- You received this message because you are subscribed to the Google Groups "libuv" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/libuv/c4b736bd-91f8-43a8-a863-5bc61e3dd1deo%40googlegroups.com.
