smp: without-interrupts: condvar.scm
authorMatt Birkholz <puck@birchwood-abbey.net>
Tue, 27 Jan 2015 20:25:30 +0000 (13:25 -0700)
committerMatt Birkholz <puck@birchwood-abbey.net>
Tue, 27 Jan 2015 20:25:30 +0000 (13:25 -0700)
README.txt

index 941fdbe0426ad31ef33a99a2947b6245b2b0db97..e5ae242407daea9dd154404e526db779c29d547f 100644 (file)
@@ -989,7 +989,14 @@ The hits with accompanying analysis:
        hits.
 
   condvar.scm:192:      (without-interrupts
+       Caller: enqueue-waiter!
   condvar.scm:212:    (without-interrupts
+       Caller: remove-waiter!
+
+       OK.  Multi-threaded access to the chain of waiters is already
+       adequately serialized by the condition-variable.lock.  Adding
+       without-interrupts just avoids aborts (interrupts that throw)
+       that would leave the doubly-linked chain broken.
 
   conpar.scm:453:            ((eq? marker-type set-interrupt-enables!)