Anton Salikhmetov <salikhmetov <at> gmail.com> writes: > > From: Anton Salikhmetov <salikhmetov <at> gmail.com> > > According to the POSIX standard, multiple real-time signals > pending to a process should be delivered in a strict order. > Specifically, the lowest-numbered signal should be delivered > first and multiple occurrences of signals with the same number > should be delivered in FIFO order. > > Current Linux kernel delivers the highest-numbered signals > pending to a process first, not the lowest-numbered ones. This > contradicts to the requirement explained above. The problem can > be demonstrated by the following test program: I believe you should check that you mask or signal in your signal handler. If you don't the high-prio handler will be prempted by low-prio, and they will be executed in the reverse order.
Matthieu - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/