Task #1464 (closed)
Opened 10 years ago
Closed 10 years ago
Handle Singal.BREAK on Windows
| Reported by: | jamoore | Owned by: | jamoore |
|---|---|---|---|
| Priority: | minor | Milestone: | OMERO-Beta4.1 |
| Component: | Deployment | Version: | 3.0-M1 |
| Keywords: | n.a. | Cc: | |
| Resources: | n.a. | Referenced By: | n.a. |
| References: | n.a. | Remaining Time: | n.a. |
| Sprint: | n.a. |
Description
See ZeroC manual: 35.21.2 Server Deactivation
Change History (2)
comment:1 Changed 10 years ago by jmoore
comment:2 Changed 10 years ago by jmoore
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
Useful for testing:
import sun.misc.*; public class sig { public static void main(String[] args) throws Exception { final Object obj = new Object(); synchronized (obj) { SignalHandler handler = new SignalHandler() { public void handle(Signal sig) { System.out.println(sig); System.exit(0); } }; for (String sig : args) { Signal.handle(new Signal(sig), handler); } obj.wait(); } } }