harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "bootjvm" <boot...@earthlink.net>
Subject [msvs] signals Re: Starting my next round on BootJVM
Date Mon, 10 Apr 2006 01:27:53 GMT

Does any onw know if newer editions of MSVS libraries
handle more than these few signals?


Dan Lydick

> [Original Message]
> From: Enrico Migliore <enrico.migliore@fatti.com>
> To: <harmony-dev@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


Mime
View raw message