Boost logo

Boost :

Subject: Re: [boost] [GSoC] Some Ideas about the Boost.Process
From: Boris Schaeling (boris_at_[hidden])
Date: 2010-03-25 17:37:58


On Thu, 25 Mar 2010 22:16:34 +0100, Felipe Tanus <fotanus_at_[hidden]> wrote:

> [...]
>> Second it's
>> true that Windows doesn't support signals at all (apart from those two
>> you
>> mentioned and I think SIGFPE). You are then in POSIX land anyway?
>
> Windows support signals. I got this from signal.h (from a windows
> system):
>
> [quote]
> #define SIGINT 2 /* interrupt */
> #define SIGILL 4 /* illegal instruction - invalid function
> image */
> #define SIGFPE 8 /* floating point exception */
> #define SIGSEGV 11 /* segment violation */
> #define SIGTERM 15 /* Software termination signal from kill */
> #define SIGBREAK 21 /* Ctrl-Break sequence */
> #define SIGABRT 22 /* abnormal termination triggered by
> [/quote]

According to MSDN SIGILL, SIGSEGV and SIGTERM are not generated. Thus we
have support for incredible four signals - not sure if it's worth to
create a platform independent library because of this. :)

Boris


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk