On Thu, Aug 30, 2012 at 11:11 PM, Pavi <manicka...@gmail.com> wrote: > Hi I get, > WARNING: ev_unref is deprecated, use uv_unref Warning when i try to run my > Java script. > I tried to changed my *.cc file as below > from, > ev_unref(EV_DEFAULR_UC) > To, > > uv_async_t h; > uv_async_init(uv_default_loop(), &h, NULL); > uv_unref((uv_handle_t*)&h); > > But this once throws segmentation fault,And also trying as below > from, > ev_unref(EV_DEFAULR_UC) > To, > uv_unref(uv_default_loop()); > > Throws compilation error. > > > Please let me know how to use uv_unref & uv_ref with Default handler
Pass uv_async_init() a callback, not NULL. -- 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 nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en