equal
deleted
inserted
replaced
1 (* Title: Pure/ML-Systems/polyml_common.ML |
1 (* Title: Pure/ML-Systems/polyml_common.ML |
2 ID: $Id$ |
2 ID: $Id$ |
3 |
3 |
4 Compatibility file for Poly/ML -- common part for 4.x and 5.x. |
4 Compatibility file for Poly/ML -- common part for 4.x and 5.x. |
5 *) |
5 *) |
|
6 |
|
7 exception Interrupt = SML90.Interrupt; |
6 |
8 |
7 use "ML-Systems/exn.ML"; |
9 use "ML-Systems/exn.ML"; |
8 use "ML-Systems/multithreading.ML"; |
10 use "ML-Systems/multithreading.ML"; |
9 use "ML-Systems/time_limit.ML"; |
11 use "ML-Systems/time_limit.ML"; |
10 use "ML-Systems/system_shell.ML"; |
12 use "ML-Systems/system_shell.ML"; |
91 |
93 |
92 |
94 |
93 |
95 |
94 (** interrupts **) |
96 (** interrupts **) |
95 |
97 |
96 exception Interrupt = SML90.Interrupt; |
|
97 |
|
98 local |
98 local |
99 |
99 |
100 val sig_int = 2; |
100 val sig_int = 2; |
101 val default_handler = Signal.SIG_HANDLE (fn _ => Process.interruptConsoleProcesses ()); |
101 val default_handler = Signal.SIG_HANDLE (fn _ => Process.interruptConsoleProcesses ()); |
102 |
102 |