I have see how to debug this. Hopefully my understanding for signal delivery is enough now.
2016-07-25 13:13 GMT-07:00 Christos Zoulas <chris...@zoulas.com>: > On Jul 24, 9:19pm, charles.cui1...@gmail.com (Charles Cui) wrote: > -- Subject: Re: updates? > > | Sure, I can implement the sigorder function and will get back to you > soon. > > So I am running the kernel with all the RT changes, and it does not seem > to work properly (it only delivers each RT signal once, where it should > deliver RTMIN + 1 twice). FYI, FreeBSD queues all signals, not just the > realtime ones so it prints: > > FreeBSD: > Inside Handler = 67 > Inside Handler = 66 > Inside Handler = 66 > Inside Handler = 65 > Inside Handler = 3 > Inside Handler = 2 > Inside Handler = 2 > > NetBSD with or withour RT patches: > Inside Handler = 36 > Inside Handler = 35 > Inside Handler = 34 > Inside Handler = 3 > Inside Handler = 2 > > Linux: > Inside Handler = 36 > Inside Handler = 35 > Inside Handler = 35 > Inside Handler = 34 > Inside Handler = 3 > Inside Handler = 2 > > christos >