Re: Win32 signal code - first try - Mailing list pgsql-hackers-win32

From Andrew Dunstan
Subject Re: Win32 signal code - first try
Date
Msg-id 3FFEACA7.5020505@dunslane.net
Whole thread Raw
In response to Re: Win32 signal code - first try  (Claudio Natoli <claudio.natoli@memetrics.com>)
List pgsql-hackers-win32

Claudio Natoli wrote:

>
>Just wondering if the logic for signal blocking is correct.
>Under Unix, IIRC, if a signal is blocked when raised, it will (might?) be
>delivered when that sigmask is unblocked. In the current implementation, it
>looks as though blocked signals will be forever lost. If I'm right in my
>recollection, we'll need some way to requeue the APC (which might be
>non-trivial).
>
>

Yes, a blocked signal is deferred and eventually delivered when
unblocked (it's slightly more complicated but this is close enough).

cheers

andrew


pgsql-hackers-win32 by date:

Previous
From: Claudio Natoli
Date:
Subject: Re: Win32 signal code - first try
Next
From: "Merlin Moncure"
Date:
Subject: Re: Win32 signal code - first try