Hi,

Typically when handling signal interrupts the signal handler MUST NOT
write into sockets or do stuff other than setting some variable.

Is it different when using the UV signal API? This is, is it safe to
do any stuff in the signal_cb?

BTW I just want to handle SIGUSR1 in the UV loop of thread-1, while in
other threads I block SIGUSR1 by using pthread_sigmask(SIG_BLOCK...).
Is this OK if I use uv_signal in thread-1 to handle that signal?

Thanks a lot.

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

Reply via email to