In a quick response, the libuv main loop runs on a single thread, so if you 
want libuv to continue processing other things while you are processing a 
message invoking the functions, I think a worker thread uv_work_t should be 
created to process the message and call respective function (consumer), and 
leave the main thread to receive new messages and add them to the queue 
(producer).

-- 
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/e2ffb23f-3014-451a-b83a-490ceef44ca3o%40googlegroups.com.

Reply via email to