tuned comments;
authorwenzelm
Sat, 06 Nov 2010 15:34:11 +0100
changeset 40389 511e5263f5c6
parent 40388 cb9fd7dd641c
child 40390 5bc4336d9768
tuned comments;
src/Pure/Concurrent/lazy.ML
--- a/src/Pure/Concurrent/lazy.ML	Sat Nov 06 00:10:32 2010 +0100
+++ b/src/Pure/Concurrent/lazy.ML	Sat Nov 06 15:34:11 2010 +0100
@@ -2,8 +2,8 @@
     Author:     Makarius
 
 Lazy evaluation with memoing of results and regular exceptions.
-Parallel version based on futures -- avoids critical or multiple
-evaluation, unless interrupted.
+Parallel version based on (passive) futures, to avoid critical or
+multiple evaluation (unless interrupted).
 *)
 
 signature LAZY =
@@ -58,7 +58,7 @@
                 val res = restore_interrupts (fn () => Exn.capture e ()) ();
                 val _ = Future.fulfill_result x res;
                 (*semantic race: some other threads might see the same
-                  Interrupt, until there is a fresh start*)
+                  interrupt, until there is a fresh start*)
                 val _ =
                   if Exn.is_interrupt_exn res then
                     Synchronized.change var (fn _ => Expr e)