Re: simplify sys___thrsigdivert a bit

2021-10-23 Thread Claudio Jeker
On Sat, Oct 23, 2021 at 05:47:58PM +0200, Mark Kettenis wrote: > > Date: Sat, 23 Oct 2021 17:29:36 +0200 > > From: Claudio Jeker > > > > The sys___thrsigdivert code can be simplified a bit. It is possible to > > set the error before the loop and then have the loop exit after polling > > for

Re: simplify sys___thrsigdivert a bit

2021-10-23 Thread Mark Kettenis
> Date: Sat, 23 Oct 2021 17:29:36 +0200 > From: Claudio Jeker > > The sys___thrsigdivert code can be simplified a bit. It is possible to > set the error before the loop and then have the loop exit after polling > for pending signals. IMO the results looks nicer than what we have now. > > OK?

simplify sys___thrsigdivert a bit

2021-10-23 Thread Claudio Jeker
The sys___thrsigdivert code can be simplified a bit. It is possible to set the error before the loop and then have the loop exit after polling for pending signals. IMO the results looks nicer than what we have now. OK? -- :wq Claudio Index: kern/kern_sig.c