On Mon, Jun 18, 2012 at 2:11 AM, wtfux <[email protected]> wrote:
> With uv_queue_work Node will automatically stay open until the thread quits.
> Do I still need uv_ref or this async_send stuff?

Not for thread management but...

> What I need but yet have to implement is that the Node's main thread will
> stay alive and can handle callbacks just like with any other async addon or
> like a web server that stays alive and responses to incoming connections.

...you will need an async handle for this (and some kind of message
passing between threads; libuv provides cross-platform mutexes,
semaphores, 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