On Wed, 15 Dec 2021 at 13:23, Stefan Hajnoczi <stefa...@redhat.com> wrote:
>
> On Wed, Dec 15, 2021 at 12:18:16PM +0000, Amir Gonnen wrote:
> > Easier/faster synchronization is just one side of the issue.
> > It's much easier to debug a single process or profile it, for example. It's 
> > also easier to deploy and maintain a single process.
> >
> > For now, the only "global state" problem I had to fix was Glib global 
> > context.
> > I didn't see an issue with posix signals. Any other global state you think 
> > I should take care of?
>
> Signal handlers are interesting because they are per-process, not
> per-thread. Luckily QEMU doesn't use signals that much. Accelerators
> like KVM use SIGUSR1 while TCG doesn't rely on signals.

I think TCG also uses SIGUSR1 for SIG_IPI.

-- PMM

Reply via email to