This is the mail archive of the
mailing list for the Cygwin project.
Re: signal is not delivered to the handler
> If you have a simple test case which illustrates the problem, we'll
> certainly investigate. Otherwise, I doubt that anyone is going to debug
> lzrz for you.
I was wrong, signal is delivred to handler but read() does not exit with
EINTR on SIGALRM like Linux and FreeBSD does. Did I miss something ?
#define BUFZ 5
void alarm_handler(int signo)
fprintf(stderr, "SIGNAL: %d\n", signo);
FILE *logfp = NULL;
fprintf (stderr, "Should timeout by itself in 5 secs\n");
fprintf (stderr, "Timeout\n");
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html