**************************************************************
Sorry for cross posting! Since this list pertains to people who are well
versed with
Java Language we thought we would get valuable suggestions towards a
solution
to our problem
**************************************************************
Hello Everyone,

    I would like to know if OS Interrupts can be handled through any means
in Java... We have a requirement wherein we have a C++ based SNMP Manager
sending a say "kill -2 <pid>" to a Java Thread..We would like the Java
process to do a proper clean up , run the finalize block and also do some
logging into a file..This is something like abrupt process killing..The
process in this case is a Network Application which handles Request theough
a socket by spawning a new thread for each new request. We would like our
interrupt handler understand the "kill -2 <pid>" command and then do a
proper cleanup, log the details like thread id , processing time etc and
then finally it should also not accept any more connections..
We are interested to know the mechanism if any that the "kill -2 <pid> "
kind of signals can be handled in Java in a network application scenario as
described above.

Any directions and help would prove extremely valuable to us.

Waiting for responses..

Thanks and Sincerely,
Bhagwandas

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to