Hi Christos, I considered the questions that you asked. Here is another patch that improves the previous one in terms of error checking https://github.com/ycui1984/posixtestsuite/blob/master/patches/SIGNAL/0003-improve-error-checking.patch
I have checked the queue size is the total number instead of per signal. my patch can pass the tests here, https://github.com/ycui1984/posixtestsuite/blob/master/conformance/interfaces/sigqueue/9-1.c which can work as an unit test. In terms of the sig queue delivery order, for real time signals, I need to familiar with the consuming logics in the netbsd code base. I guess maybe we need to sort real time signals when enqueuing, or selecting the correct real time signal when consuming. My action items, to familiar with signal consuming logic in netbsd, to make sure real time signals are always consumed based on its signal number (the smaller the real time signal number, the earlier to be consumed.) Thanks, Charles. 2016-07-15 21:15 GMT-07:00 Charles Cui <charles.cui1...@gmail.com>: > Thanks for your feedbacks, I will try to fix these problems as soon as > possible. > > > > Thanks, Charles. > > 2016-07-14 8:20 GMT-07:00 Christos Zoulas <chris...@zoulas.com>: > >> On Jul 14, 5:09pm, charles.cui1...@gmail.com (Charles Cui) wrote: >> -- Subject: Re: updates? >> >> | Hi Christos, >> | >> | actually, I have a draft implementation of real time signals, >> | Let me know if you guys think it is enough (worth to spend time to >> complete >> | it or switch to cross process synchronization). >> | Here is the commit, >> | >> https://github.com/ycui1984/posixtestsuite/commit/cb9f0e1f5c2516a0ac38e457c26b8ed623e6f235 >> >> There is also the issue of handling sigqueue properly, delivery order, >> etc: >> http://pubs.opengroup.org/onlinepubs/007908775/xsh/realtime.html >> >> christos >> > >