SIGALRM is ignored in generated code blocks (using mmap) - testcase included

Lee Moore moore@imperas.com
Fri Jan 27 17:46:00 GMT 2006


Hi Chris

>This may be fixed in the latest snapshot, which I'm generating right now.

I checked out the source from CVS re-built and the fix you have made does 
fix my reported problem.
Unfortunately it has uncovered another issue, I wonder if you could give 
some advice.

I have made my own (local) changes to some of the cygwin sources in order 
to be able to provide the
'context' to 'sigaction' when an exception occurs (file diffs.txt attached).
This appears to work fine except for the case when SIGALRM occurs.

it appears that for SIGALRM neither the _cygtls::call_signal_handler nor 
the _cygtls::handle_exceptions
get involved - is this correct ?

when my signal handler for the alarm is called I cannot get the context, it 
has clearly come through a
different path. What I need to do is change the cygwin code so that the 
context is saved when the SIGALRM
occurs, in the same way it is for my other exceptions

All suggestions welcome
Thx
Lee
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs.txt
URL: <http://cygwin.com/pipermail/cygwin/attachments/20060127/95e08207/attachment.txt>
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


More information about the Cygwin mailing list