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

From Andrew Dunstan
Subject Re: Win32 signals code, take two
Date
Msg-id 400D1525.8060603@dunslane.net
Whole thread Raw
In response to Re: Win32 signals code, take two  (Claudio Natoli <claudio.natoli@memetrics.com>)
List pgsql-hackers-win32

Claudio Natoli wrote:

>>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).
>
>
>

Stevens APUE (s. 10.8) says:

"What happens if a blocked signal is generated more than once before
the process unblocks the signal? POSIX.1 allows the system to deliver
the signal once or more than once. If the system delivers the signal
more than once, we say the signals are queued. Most Unix systems,
however, do not queue signals. Instead the Unix kernel just delivers the
signal once."

cheers

andrew


pgsql-hackers-win32 by date:

Previous
From: "Magnus Hagander"
Date:
Subject: Re: Win32 signals code, take two
Next
From: Claudio Natoli
Date:
Subject: Re: Win32 signals code, take two