src/Pure/ML-Systems/poplogml.ML
changeset 18760 97aaecb84afe
parent 18392 fdefc3cd45c5
child 21295 63552bc99cfb
equal deleted inserted replaced
18759:2f55e3e47355 18760:97aaecb84afe
   267   fun (x: int) + y = x + y;
   267   fun (x: int) + y = x + y;
   268   fun (x: int) - y = x - y;
   268   fun (x: int) - y = x - y;
   269 end;
   269 end;
   270 
   270 
   271 
   271 
       
   272 (* bounded time execution *)
       
   273 
       
   274 (* FIXME proper implementation available? *)
       
   275 fun interrupt_timeout time f x =
       
   276   f x;
       
   277 
   272 
   278 
   273 (** interrupts **)      (*Note: may get into race conditions*)
   279 (** interrupts **)      (*Note: may get into race conditions*)
   274 
   280 
   275 fun ignore_interrupt f x = f x;
   281 fun ignore_interrupt f x = f x;
   276 fun raise_interrupt f x = f x;
   282 fun raise_interrupt f x = f x;