The missing HandleScope was leaking.

Thank you for pointing me to this collection of examples. (I prefer to use 
a class for the Baton. It's more convenient.)

In my HelloWorld example, the AsyncA function does not include any blocking 
operations, but during my next project I need the thread pool since I am 
binding a network related client.

On Saturday, May 19, 2012 8:26:55 AM UTC+2, mscdex wrote:
>
> On May 19, 1:02 am, Andi <[email protected]> wrote: 
> > What did I miss? 
>
> You might be missing some HandleScopes, but FWIW I generally follow 
> this helpful template for *thread pool* work: 
>
> https://github.com/kkaefer/node-cpp-modules/blob/master/05_threadpool/modulename.cpp
>  
>
> Also, is your async method actually doing something blocking which 
> requires use of the thread pool or can you utilize one of the other 
> libuv methods for performing your async work (e.g. polling a handle, 
> etc)?

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