src/Pure/ML-Systems/polyml_common.ML
changeset 28443 de653f1ad78b
parent 28416 263599f1346a
child 28488 18fea7e88ea1
equal deleted inserted replaced
28442:bd9573735bdd 28443:de653f1ad78b
     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