Re: Win32 signals code, take two - Mailing list pgsql-hackers-win32

From Magnus Hagander
Subject Re: Win32 signals code, take two
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE1715A7@algol.sollentuna.se
Whole thread Raw
In response to Win32 signals code, take two  ("Magnus Hagander" <mha@sollentuna.net>)
List pgsql-hackers-win32
> > I've only had time for a very superficial look, but looks good...
>
> One question: What about the same signal being raised
> multiple times whilst blocked? Currently, if a signal is
> raised twice whilst blocked, it will be delivered a single
> time when unblocked (it ought to be delivered twice).

They are only delivered once in this implementation. I was under the
impression that's what we wanted?
It is also the behaviour on my linux system. If I sigblock() HUP, then
fire off 10 "kill -HUP <mypid>", and finally unblock it, the HUP handler
is called exactly once.


//magnus

pgsql-hackers-win32 by date:

Previous
From: Claudio Natoli
Date:
Subject: Re: Win32 signals code, take two
Next
From: Andrew Dunstan
Date:
Subject: Re: Win32 signals code, take two