tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: updates?

In article <>,
Charles Cui  <> wrote:

>I did not quite understand it.
>This patch removes all ret = -1 logics, and set error at kpsignal2,
>did you want to set error code inside sigput?

Yes sigput should return EAGAIN, the ret variable should be called error,
and all errors from sigput() should goto discard (unless there is some
cleanup that needs to be done).

>The handling order of realtime signal and standard signals are not defined
>by POSIX.
>Some OSes handle realtime signal in FIFO order, but some select the
>realtime signal with lowest number first.
>It's still good to know the real results, though.

Yes, and it is good to verify that the ordering for realtime signals is
correct too.


Home | Main Index | Thread Index | Old Index