Re: signals on windows - Mailing list pgsql-hackers-win32

From Merlin Moncure
Subject Re: signals on windows
Date
Msg-id 303E00EBDD07B943924382E153890E5434A9ED@cuthbert.rcsinc.local
Whole thread Raw
In response to signals on windows  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: signals on windows
List pgsql-hackers-win32
>It doesn't look like a "signal" is not a kernel primitive on NT, it's a

>feature of the CRT implemented in userspace with lower-level OS
primitives.

That is correct.  Signals in the Unix sense of the word do not exist in
win32.  A subset of them was emulated by the C runtime for compatibility
with dos applications.  All real win32 process messaging goes through
messages.

Exception handling, however, is a kernel primitive, and handles some
cases like int/0 that normally would be handled by signals.  Microsoft
hacked the C language to include exception support for this reason.

Merlin


pgsql-hackers-win32 by date:

Previous
From: Andrew Dunstan
Date:
Subject: more setlocale fun
Next
From: Andrew Dunstan
Date:
Subject: Re: signals on windows