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

2006-01-27 Thread Lee Moore
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 (lo

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

2006-01-25 Thread Lee Moore
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(); >

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

2006-01-23 Thread Lee Moore
Hi I have an application which is creating generated code blocks in memory provided by mmap, once the application is running in the generated code blocks, it cannot be interrupted by a SIGALRM. In the following example I generate a code section which simply performs an infinite loop (using a