I'd love to also know the answer to this, from looking through the source code, 
I basing 
things on what I know of 0.4, I've found the following:

        uv_queue_work: similar to eio_custom, but also handles ev_ref and other 
initialisation work.
        uv__after_work: wraps up the logic of ev_unref and a bit of other stuff

        I don't think you now need to use the values for priority, or which 
event loop to use (node 
        selects on using the above methods).

        uv_async_init wraps the logic to ev_async_init and ev_async_start
        uv_async_send maps to ev_async_send

        I'm not entirely sure what uv_close does, but it does call 
ev_async_stop for requests 
        generated with uv_async_start.

        I can't find anything that actually maps to ev_invoke.

Hopefully this information is of some help.

Regards,
Micheil Smith
--
BrandedCode.com

On 13/03/2012, at 7:10 AM, Jeroen Janssen wrote:

> Hi,
> 
> I recently got a request to port my node-sdlmixer module to node 0.6
> and I was wondering if there is some porting 'howto' for C++ addons
> from 0.4 to 0.6?
> 
> My module currently uses:
> * ev_async_init
> * ev_async_start
> * ev_ref
> * ev_unref
> * ev_async_send
> * ev_invoke
> * ev_async_stop
> * EV_DEFAULT_UC_
> * eio_custom
> * eio_req
> * EIO_PRI_DEFAULT
> 
> * wscript to build the addon
> 
> It seems https://github.com/joyent/node/wiki/API-changes-between-v0.4-and-v0.6
> mostly only talks about the javascript side of things, but I can not
> find any C++ API changes in there (i.e. the things added through
> libuv).
> 
> Best regards,
> 
> Jeroen Janssen
> 
> -- 
> 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

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