src/Pure/ML-Systems/alice.ML
changeset 24688 a5754ca5c510
parent 24597 cbf2c5cf335e
child 24807 f66ab1dfbae1
equal deleted inserted replaced
24687:f24306b9e073 24688:a5754ca5c510
    14 *)
    14 *)
    15 
    15 
    16 val ml_system_fix_ints = false;
    16 val ml_system_fix_ints = false;
    17 
    17 
    18 use "ML-Systems/exn.ML";
    18 use "ML-Systems/exn.ML";
    19 use "ML-Systems/multithreading_dummy.ML";
    19 use "ML-Systems/multithreading.ML";
       
    20 use "ML-Systems/time_limit.ML";
    20 
    21 
    21 
    22 
    22 fun exit 0 = (OS.Process.exit OS.Process.success): unit
    23 fun exit 0 = (OS.Process.exit OS.Process.success): unit
    23   | exit _ = OS.Process.exit OS.Process.failure;
    24   | exit _ = OS.Process.exit OS.Process.failure;
    24 
    25 
   123   fun inputLine is = TextIO.inputLine is
   124   fun inputLine is = TextIO.inputLine is
   124     handle IO.Io _ => raise Interrupt;
   125     handle IO.Io _ => raise Interrupt;
   125 end;
   126 end;
   126 
   127 
   127 
   128 
   128 (* bounded time execution *)
       
   129 
       
   130 (*dummy implementation*)
       
   131 fun interrupt_timeout time f x =
       
   132   f x;
       
   133 
       
   134 
       
   135 
   129 
   136 (** OS related **)
   130 (** OS related **)
   137 
   131 
   138 (* current directory *)
   132 (* current directory *)
   139 
   133