equal
deleted
inserted
replaced
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; |