equal
deleted
inserted
replaced
89 OS.FileSys.remove tmp_name |
89 OS.FileSys.remove tmp_name |
90 end; |
90 end; |
91 |
91 |
92 |
92 |
93 |
93 |
|
94 (** interrupts **) (*Note: may get into race conditions*) |
|
95 |
|
96 exception Interrupt; |
|
97 |
|
98 MLWorks.Internal.Runtime.Event.interrupt_handler (fn () => raise Interrupt); |
|
99 |
|
100 fun mask_interrupt f x = f x; |
|
101 fun unmask_interrupt f x = f x; |
|
102 fun exhibit_interrupt f x = f x; |
|
103 |
|
104 |
|
105 |
94 (** OS related **) |
106 (** OS related **) |
95 |
107 |
96 (* system command execution *) |
108 (* system command execution *) |
97 |
109 |
98 (*execute Unix command which doesn't take any input from stdin and |
110 (*execute Unix command which doesn't take any input from stdin and |