src/Pure/Concurrent/par_list.ML
changeset 28645 605a3b1ef6ba
parent 28549 78affc7d4d0f
child 28646 3a8d75c935ce
--- a/src/Pure/Concurrent/par_list.ML	Tue Oct 21 15:01:16 2008 +0200
+++ b/src/Pure/Concurrent/par_list.ML	Tue Oct 21 15:01:18 2008 +0200
@@ -28,7 +28,7 @@
 struct
 
 fun raw_map f xs =
-  if ! future_scheduler andalso Multithreading.enabled () then
+  if Future.enabled () then
     let
       val group = TaskQueue.new_group ();
       val futures = map (fn x => Future.future (SOME group) [] true (fn () => f x)) xs;