signal handling

Bloch, Jack (Jack.Bloch@icn.siemens.com)
Fri, 24 May 2002 14:31:53 -0400


I have a rather strange situation. I am running an embedded system using Red
Hat 7.0 (Kernel 2.2-16). It si pretty much a stripped down version. I have
installed my own signal handler in my application for SIGTERM and SIGTSTP
(and a couple of others). The handler itself is nothing more than a "case
signal of" construct. I always hit the default leg because the signal number
which is passed into my application appears to contain garbage. When a
repeat the same test with a full install it works correctly.

Some background. the application is written using Borland Kylix 2.0. I have
set the compiler options so that the selected signals are handled internally
by the application (i.e. not by the debugger). If anybody has an idea of
what may cause this please CC me directly.

Thanks in advance.

Jack Bloch
Siemens Carrier Networks
e-mail : jack.bloch@icn.siemens.com
phone : (561) 923-6550

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/