RecursionLock.st
changeset 20117 4dec7bf01eb5
parent 18748 f7400cf1f488
child 20131 4118d61ddba0
child 20190 b3da2cd21ad5
--- a/RecursionLock.st	Thu Jul 07 20:20:55 2016 +0200
+++ b/RecursionLock.st	Thu Jul 07 20:21:10 2016 +0200
@@ -1,5 +1,3 @@
-"{ Encoding: utf8 }"
-
 "
  COPYRIGHT (c) 1995 by Claus Gittinger
 	      All Rights Reserved
@@ -250,14 +248,14 @@
 !
 
 critical:aBlock ifBlocking:blockingBlock
-    "like critical:, but do not block if the lock cannot be aquired.
+    "like critical:, but do not block if the lock cannot be acquired.
      Instead, return the value of the second argument, blockingBlock."
 
     ^ self critical:aBlock timeoutMs:0 ifBlocking:blockingBlock.
 !
 
 critical:aBlock timeoutMs:timeoutMs ifBlocking:blockingBlock
-    "like critical:, but do not block if the lock cannot be aquired 
+    "like critical:, but do not block if the lock cannot be acquired 
      within timeoutMs milliseconds.
      Instead, return the value of blockingBlock."