Hello,
I have a C shared library. I am writing a node module for this library. I
wrote a process function which can be accessed from JS and it calls my
shared library function. In JS, it looks like,
myLibrary.process(args, function(output) {
});
I am wondering, is this a non-blocking call or blocking one? Since I am not
doing anything special to make it non-blocking, I assume this will be a
blocking call. Or is Node doing something to make it non-blocking?
If the above code is blocking, how do I make a non-blocking wrapper for
this shared library? Should I use work queues from libuv?
Any help would be great!
Thanks
Navaneeth
--
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