2014-05-26 1:24 GMT+02:00 Saúl Ibarra Corretgé <[email protected]>: >> Sorry, I don't get it. A signal sent to a process is supposed to >> be delivered by the OS to *any* thread of that process. In my case >> I run N threads and N independent UV loops. I cannot figure out how >> those independent loops are supposed to "collaborate" in order to >> broadcast a signal received by any of them to all the rest. No way >> IMHO. >> > > Because libuv has a global list of handles interested in signals. > Check src/unix/signal.c. It just works.
Super interesting. May I ask why the documentation lacks so much information about that? IMHO users need to know important stuff like that. -- Iñaki Baz Castillo <[email protected]> -- You received this message because you are subscribed to the Google Groups "libuv" 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]. Visit this group at http://groups.google.com/group/libuv. For more options, visit https://groups.google.com/d/optout.
