Hey everyone. I need an expert for this question actually. So if you can, please poke a nodejs dev ovo...
So, I am sitting here, with the need to ingegrate a thirdparty library, which usually runs its own event loop. It however offers the possibility to just run one function to let its message loop run once, in order to integrate it better into existing message loops. Now, I want to use this to integrate it into nodejs' event loop. But, how. If i use uv_idle_t, I need to run my own uv loop - even if i use uv_default_loop()... So. How do I access and modify the existing uv loop that nodejs spawns, and add things into it? I saw <env.h>, which exported a class, Environment, that obviously stored the last used uv event loop, so it could be accessed later on. But in my case, I am already within the event loop, and need to add the function "on the fly". Is that possible? And how? Hope somebody can help me. Kind regards, Ingwie. :) -- -- 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 --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
