On Mon, Aug 20, 2012 at 7:23 PM, Navaneeth KN <[email protected]> wrote:
>
> I was not talking about will it block the event loop or not. Because I am
> not using event loop at all explicitly. All I am doing is directly calling
> the C function in my module. I was wondering should I implement using Work
> queue (http://nikhilm.github.com/uvbook/threads.html#libuv-work-queue).

Hi Navaneeth,

If your underlying functions belonging to libvarnam are blocking, then
YES, you'll have
to use uv_queue_work() if you want the node addon itself to not block
the event loop.

Nikhil

-- 
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

Reply via email to