I really was mislead by the documentation of libuv. There is none or at 
least not clear documentation about node's thread pool.

My application was actually a little more complicated than the example 
because I was implementing a writable stream in node js that when _write() 
was called, it was injecting data on the addon, throw a binding, and mutex 
where forced because of the library of the design of the library I was 
using (which I don't have control on that design)

The main loop is enough, I initially though I would get some deadlocks (and 
I had) but now is working fine.

Thanks for the tip about the NanAsyncWorker. I read the code and it was 
kinda of what I was already doing, but for future projects it should save 
some time.


Thank you very much.

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

Reply via email to