Re: updates?

2016-07-27 Thread Christos Zoulas
On Jul 26, 8:15pm, charles.cui1...@gmail.com (Charles Cui) wrote: -- Subject: Re: updates? | Hi Christos, | This patch fixed the bug you found | https://github.com/ycui1984/posixtestsuite/blob/master/patches/REALTIME_SIGNAL/0006-bug-fix-for-real-time-signals.patch | Ok, I think that: 1. sp ca

Re: updates?

2016-07-27 Thread Christos Zoulas
On Jul 27, 8:23am, charles.cui1...@gmail.com (Charles Cui) wrote: -- Subject: Re: updates? | 3. there will be a concern if we count the number of signals each time, | but this sigcnts logic may can be merged with siggetinfo. Can you try doing that? | 2. I can add kassert around ret. | 1. I know

Re: updates?

2016-07-27 Thread Charles Cui
3. there will be a concern if we count the number of signals each time, but this sigcnts logic may can be merged with siggetinfo. 2. I can add kassert around ret. 1. I know sp cannot be NULL, and if it is NULL, the sigcnt is zero, what do you mean of code would die (which piece of code)? 2016-07-2

Re: updates?

2016-07-27 Thread Charles Cui
Yeah, I will try to improve the code efficiency. 2016-07-27 10:14 GMT-07:00 Christos Zoulas : > On Jul 27, 8:23am, charles.cui1...@gmail.com (Charles Cui) wrote: > -- Subject: Re: updates? > > | 3. there will be a concern if we count the number of signals each time, > | but this sigcnts logic ma

Re: updates?

2016-07-27 Thread Charles Cui
This patch https://github.com/ycui1984/posixtestsuite/blob/master/patches/REALTIME_SIGNAL/0007-improve-efficiency.patch improves the code efficiency and removes duplicate search in the signal queue. 2016-07-27 10:34 GMT-07:00 Charles Cui : > Yeah, I will try to improve the code efficiency. > > 2