Re: [Spice-devel] [PATCH phodav 03/13] spice: handle SIGINT properly

2019-05-27 Thread Jakub Janku
Hi, On Mon, May 27, 2019 at 5:58 PM Frediano Ziglio wrote: > > > > > Hi, > > > > On Thu, May 23, 2019 at 3:31 PM Marc-André Lureau > > wrote: > > > > > > Hi > > > > > > On Thu, May 23, 2019 at 10:37 AM Jakub Janků wrote: > > > > > > > > According to [0], g_debug should not be used in a signal

Re: [Spice-devel] [PATCH phodav 03/13] spice: handle SIGINT properly

2019-05-27 Thread Frediano Ziglio
> > Hi, > > On Thu, May 23, 2019 at 3:31 PM Marc-André Lureau > wrote: > > > > Hi > > > > On Thu, May 23, 2019 at 10:37 AM Jakub Janků wrote: > > > > > > According to [0], g_debug should not be used in a signal handler. > > > So, to avoid reentrancy, do not print debug message when quit is > >

Re: [Spice-devel] [PATCH phodav 03/13] spice: handle SIGINT properly

2019-05-24 Thread Jakub Janku
Hi, On Thu, May 23, 2019 at 3:31 PM Marc-André Lureau wrote: > > Hi > > On Thu, May 23, 2019 at 10:37 AM Jakub Janků wrote: > > > > According to [0], g_debug should not be used in a signal handler. > > So, to avoid reentrancy, do not print debug message when quit is > > called with SIGINT. > >

Re: [Spice-devel] [PATCH phodav 03/13] spice: handle SIGINT properly

2019-05-23 Thread Marc-André Lureau
Hi On Thu, May 23, 2019 at 10:37 AM Jakub Janků wrote: > > According to [0], g_debug should not be used in a signal handler. > So, to avoid reentrancy, do not print debug message when quit is > called with SIGINT. > > [0] >

[Spice-devel] [PATCH phodav 03/13] spice: handle SIGINT properly

2019-05-23 Thread Jakub Janků
According to [0], g_debug should not be used in a signal handler. So, to avoid reentrancy, do not print debug message when quit is called with SIGINT. [0] https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/signal?view=vs-2019 Signed-off-by: Jakub Janků --- spice/spice-webdavd.c