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

Re: [dm-devel] [PATCH 2/2] simplify multipath signal handlers



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.


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