Skip site navigation (1) Skip section navigation (2)

Re: signals on windows

From: "Merlin Moncure" <merlin(dot)moncure(at)rcsonline(dot)com>
To: "Marsh Ray" <marsh-pg(at)mysteray(dot)com>
Cc: "pgsql-hackers-win32" <pgsql-hackers-win32(at)postgresql(dot)org>
Subject: Re: signals on windows
Date: 2003-10-10 17:08:46
Message-ID: 303E00EBDD07B943924382E153890E5434A9ED@cuthbert.rcsinc.local (view raw or flat)
Thread:
Lists: 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


Responses

pgsql-hackers-win32 by date

Next:From: Andrew DunstanDate: 2003-10-10 17:37:53
Subject: Re: signals on windows
Previous:From: Andrew DunstanDate: 2003-10-10 14:31:32
Subject: more setlocale fun

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group