It might be worth mentioning that in v0.7 (unstable), and soon in v0.8 
(stable), the signatures of uv_ref() and uv_unref() have changed.

Old:
- uv_ref(uv_loop_t *loop)
- uv_unref(uv_loop_t *loop)

New:
- uv_ref(uv_handle_t *handle)
- uv_unref(uv_handle_t *handle)

That means you can't really use uv_default_loop() anymore.  Instead, you 
need to pass a handle to something, e.g. uv_async_t.

This is going to break a lot of native modules in the transition to v0.8. 
 I spent some time yesterday trying to update kkaeffer's node-sqlite3, and 
ran into issues.

Has anyone else had any luck making this transition, and has anyone written 
up something describing the changes they had to make?  I'm sure that would 
be helpful.

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