You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by bootjvm <bo...@earthlink.net> on 2006/04/10 03:27:53 UTC
[msvs] signals Re: Starting my next round on BootJVM
Does any onw know if newer editions of MSVS libraries
handle more than these few signals?
Dan Lydick
> [Original Message]
> From: Enrico Migliore <en...@fatti.com>
> To: <ha...@incubator.apache.org>
> Date: 4/7/06 12:13:16 AM
> Subject: Re: Starting my next round on BootJVM
>
> Hi
>
> >>As far as I can say, the main problem of porting a JVM, designed for
> >>UNIX, to the Windows environment are the ANSI signals:
> >>Windows, in fact, doesn't honor not even a fourth of all ANSI signals,
> >>therefore, the JVM signals handler WILL NOT be called by Windows.
> >>
> >>
> >>
> >I am not an MSVS expert, but my previous MS C/C++ work has had
> >no problem using the signal library, which was in any case borrowed
> >from Unix, so I don't think this will be a problem. The only signal I
> >really need is SIGALRM for the time slicer.
> >
> >
> >
> If nothing changed since MSVC 6.0 (1999), the signals available in
> Windows are:
>
> SIGABRT,SIGFPE,SIGILL,SIGINT,SIGSEGV,SIGTERM
>
> Yet:
>
> "The SIGILL, SIGSEGV, and SIGTERM signals are not generated under
> Windows NT. They are included for ANSI compatibility"
>
> >>I don't know yet if and how Cygwin deals with this kind of problem...
> >>
> >>
> >>
> >Those who have compiled it had misc. header files to adjust, but
> >nobody has so far complained about signals.
> >
> >Thanks,
> >
> >Dan Lydick
> >
> >.... snip ...
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org
Re: [msvs] signals Re: Starting my next round on BootJVM
Posted by Enrico Migliore <en...@fatti.com>.
>Does any onw know if newer editions of MSVS libraries
>handle more than these few signals?
>
>
>Dan Lydick
>
>
>
Hi Dan,
here are two interesting posts:
http://archives.postgresql.org/pgsql-hackers-win32/2003-10/msg00025.php
http://openvpn.net/archive/openvpn-devel/2004-08/msg00012.html
Enrico
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org
Re: [msvs] signals Re: Starting my next round on BootJVM
Posted by Enrico Migliore <en...@fatti.com>.
bootjvm wrote:
>Does any onw know if newer editions of MSVS libraries
>handle more than these few signals?
>
>
>Dan Lydick
>
>
Hi Dan,
OS runtime signals are explained here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_crt_signal.asp
This might be interesting for you:
"By default, *signal* terminates the calling program with exit code 3,
regardless of the value of /sig"
/
Which signals do you actually need for your bootJVM?
Enrico
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org