--- a/BoltLock.st Tue Dec 17 16:58:58 2013 +0100
+++ b/BoltLock.st Tue Dec 24 11:42:49 2013 +0100
@@ -36,7 +36,7 @@
documentation
"
- A BoltLock (aka BoldVariable) is a 3-state semaphore,
+ A BoltLock (aka BoltVariable) is a 3-state semaphore,
useful to protect a resource against single writers, while allowing multiple
readers to access the resource simultaneously.
@@ -50,7 +50,7 @@
to aquire it
[notice:]
- the original BoldLock was unfair in that new incoming readers could lock up a waiting writer.
+ the original BoltLock was unfair in that new incoming readers could lock up a waiting writer.
This has been fixed by adding a fourth state (wantToLock), which is set by a write-waiter to prevent
new readers from getting the lock.
@@ -333,11 +333,12 @@
!BoltLock class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libbasic2/BoltLock.st,v 1.4 2012-08-06 15:13:43 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libbasic2/BoltLock.st,v 1.5 2013-12-24 10:42:49 cg Exp $'
!
version_CVS
- ^ '$Header: /cvs/stx/stx/libbasic2/BoltLock.st,v 1.4 2012-08-06 15:13:43 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libbasic2/BoltLock.st,v 1.5 2013-12-24 10:42:49 cg Exp $'
! !
+
BoltLock initialize!