src/HOL/Tools/Sledgehammer/async_manager.ML
changeset 56303 4cc3f4db3447
parent 53403 c09f4005d6bd
child 57556 6180d81be977
--- a/src/HOL/Tools/Sledgehammer/async_manager.ML	Thu Mar 27 13:00:40 2014 +0100
+++ b/src/HOL/Tools/Sledgehammer/async_manager.ML	Thu Mar 27 17:12:40 2014 +0100
@@ -130,7 +130,7 @@
 fun check_thread_manager () = Synchronized.change global_state
   (fn state as {manager, timeout_heap, active, canceling, messages, store} =>
     if (case manager of SOME thread => Thread.isActive thread | NONE => false) then state
-    else let val manager = SOME (Toplevel.thread false (fn () =>
+    else let val manager = SOME (Runtime.thread false (fn () =>
       let
         fun time_limit timeout_heap =
           (case try Thread_Heap.min timeout_heap of
@@ -183,7 +183,7 @@
 
 
 fun thread tool birth_time death_time desc f =
-  (Toplevel.thread true
+  (Runtime.thread true
        (fn () =>
            let
              val self = Thread.self ()