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

Lee Moore moore@imperas.com
Wed Jan 25 11:19:00 GMT 2006


Hi Chris, Samuel,

> >Mmm, IIRC signals can't be delivered unless you call cygwin functions.
>
>If that is actually true, it's a bug.  Cygwin should be able to
>interrupt user code.  It doesn't try to interrupt...
>
> >int main(void) {
> >       signal(SIGALRM,handler);
> >       alarm(1);
> >       Sleep();
> >}
>
>...a Windows function like Sleep.  It should interrupt, e.g., a busy
>loop in user code, however.
>
>cgf

are we agreed that this is a bug ?
If so how can I get a fix, or a workaround to get me further ?

Thx
Lee



--
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