Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Java
Expertise: Beginner
Feb 26, 1998

Unix Signal Handling

Question:
Is there a way in Java to handle Unix signals (i.e. to trap a Control C signal)?

Answer:
You can handle Unix signals only by writing native code. However, the Java virtual machine itself uses various signals for its own purposes, and providing your own signal handlers will usually break the virtual machine. It is highly recommended that you not install your own signal handlers.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date