[dm-devel] [PATCH 2/2] simplify multipath signal handlers
Bart Van Assche
bvanassche at acm.org
Wed May 8 05:58:50 UTC 2013
On 05/08/13 00:15, Benjamin Marzinski wrote:
> + sigprocmask(SIG_SETMASK, NULL, &mask);
Not sure this is relevant on Linux, but the POSIX specs require to use
pthread_sigmask() in multithreaded programs instead of sigprocmask()
(see also
http://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_sigmask.html).
Otherwise this patch looks fine to me.
Bart.
More information about the dm-devel
mailing list