#OTHER by mawalch
Spelling fixes.
--- 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."