Re: [PATCH 22/30] bsd-user/signal.c: Fill in queue_signal

2022-01-17 Thread Peter Maydell
On Mon, 17 Jan 2022 at 16:22, Warner Losh wrote: > On Thu, Jan 13, 2022 at 1:37 PM Peter Maydell > wrote: >> > +/* >> > + * FreeBSD signals are always queued. Linux only queues real time >> > signals. >> > + * XXX this code is not thread safe. "What lock protects ts->sigtab?" >> >

Re: [PATCH 22/30] bsd-user/signal.c: Fill in queue_signal

2022-01-17 Thread Warner Losh
On Thu, Jan 13, 2022 at 1:37 PM Peter Maydell wrote: > On Sun, 9 Jan 2022 at 16:51, Warner Losh wrote: > > > > Fill in queue signal implementation, as well as routines allocate and > > delete elements of the signal queue. > > See reply to patch 18 for why you probably don't want to do this. > I

Re: [PATCH 22/30] bsd-user/signal.c: Fill in queue_signal

2022-01-13 Thread Peter Maydell
On Sun, 9 Jan 2022 at 16:51, Warner Losh wrote: > > Fill in queue signal implementation, as well as routines allocate and > delete elements of the signal queue. See reply to patch 18 for why you probably don't want to do this. > Signed-off-by: Stacey Son > Signed-off-by: Kyle Evans > Signed-of

[PATCH 22/30] bsd-user/signal.c: Fill in queue_signal

2022-01-09 Thread Warner Losh
Fill in queue signal implementation, as well as routines allocate and delete elements of the signal queue. Signed-off-by: Stacey Son Signed-off-by: Kyle Evans Signed-off-by: Warner Losh --- bsd-user/signal.c | 72 ++- 1 file changed, 71 insertions(+)