RE: signal handler and JNI

2006-02-21 Thread Dave Korn
On 21 February 2006 10:20, Alex Dupre wrote: > Alex Dupre alexdupre.com> writes: > >> Yes, I've read it before posting to the list, but I cannot see where it >> explains why I should call a print function to get the signal handled. >> And not every print function, sprintf() doesn't work, printf(

Re: signal handler and JNI

2006-02-21 Thread Alex Dupre
Alex Dupre alexdupre.com> writes: > Yes, I've read it before posting to the list, but I cannot see where it > explains why I should call a print function to get the signal handled. > And not every print function, sprintf() doesn't work, printf() with empty > string doesn't work, currently I succe

Re: signal handler and JNI

2006-02-20 Thread Alex Dupre
Dave Korn artimi.com> writes: > Well, have you read the internals doc about how signals work? Yes, I've read it before posting to the list, but I cannot see where it explains why I should call a print function to get the signal handled. And not every print function, sprintf() doesn't work, pri

RE: signal handler and JNI

2006-02-20 Thread Dave Korn
On 20 February 2006 14:33, Alex Dupre wrote: > Hello, > I have a question about signal handling and JNI under cygwin. > > The scenario is the following: > - a cygwin program register a function to handle SIGINT and SIGTERM signals > - the program then launches the Java Virtual Machine via the JNI

signal handler and JNI

2006-02-20 Thread Alex Dupre
Hello, I have a question about signal handling and JNI under cygwin. The scenario is the following: - a cygwin program register a function to handle SIGINT and SIGTERM signals - the program then launches the Java Virtual Machine via the JNI invocation API, telling it to not override any signal h