On Friday, June 27, 2014 12:25:09 PM UTC-4, Ingwie Phoenix wrote: > > This is supposed to be sort-of modeled after child_process.spawn. What > posibilities do I have, to emit events across threads? > > Have you already looked into `uv_async_send()` ? That would be for signalling the main thread (node) from your other thread (PHP). If you had a separate loop for PHP, you could use uv_async_send() to send in the other direction as well.
-- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: 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 unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/2df0080a-234c-4497-a226-f580be97b949%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
