src/Pure/ML-Systems/multithreading.ML
changeset 28187 4062882c7df3
parent 28169 356fc8734741
child 28460 455ef74607d7
--- a/src/Pure/ML-Systems/multithreading.ML	Tue Sep 09 23:30:05 2008 +0200
+++ b/src/Pure/ML-Systems/multithreading.ML	Tue Sep 09 23:48:36 2008 +0200
@@ -39,8 +39,11 @@
 val max_threads = ref (1: int);
 fun max_threads_value () = Int.max (! max_threads, 1);
 
-val no_interrupts = [];
-val regular_interrupts = [];
+val no_interrupts =
+  [Thread.EnableBroadcastInterrupt false, Thread.InterruptState Thread.InterruptDefer];
+
+val regular_interrupts =
+  [Thread.EnableBroadcastInterrupt true, Thread.InterruptState Thread.InterruptAsynchOnce];
 
 fun with_attributes _ f x = f [] x;