From: | "Magnus Hagander" <mha(at)sollentuna(dot)net> |
---|---|
To: | "Claudio Natoli" <claudio(dot)natoli(at)memetrics(dot)com>, "pgsql-hackers-win32" <pgsql-hackers-win32(at)postgresql(dot)org> |
Subject: | Re: Win32 signals code, take two |
Date: | 2004-01-20 11:30:28 |
Message-ID: | 6BCB9D8A16AC4241919521715F4D8BCE1715A7@algol.sollentuna.se |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Dunstan | 2004-01-20 11:46:45 | Re: Win32 signals code, take two |
Previous Message | Claudio Natoli | 2004-01-20 10:30:01 | Re: Win32 signals code, take two |