Re: [PATCH 2/2] simplify multipath signal handlers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel




[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux