class: RecursionLock
authorClaus Gittinger <cg@exept.de>
Thu, 25 Jul 2013 11:22:03 +0200
changeset 15550 8036fe8c032d
parent 15549 874e9186efeb
child 15551 8ee0431a2f39
class: RecursionLock comment/format in: #wouldBlock
RecursionLock.st
--- a/RecursionLock.st	Thu Jul 25 09:36:41 2013 +0000
+++ b/RecursionLock.st	Thu Jul 25 11:22:03 2013 +0200
@@ -166,7 +166,9 @@
 
 wouldBlock
     "Check if the resource represented by the receiver is  
-     already in use by another Process."
+     already in use by another process.
+     Attention: if asked without some global lock (blockedInterrupts),
+     the returned value may be outdated right away."
 
     ^ process notNil and:[Processor activeProcess ~~ process]
 ! !
@@ -300,10 +302,10 @@
 !RecursionLock class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/RecursionLock.st,v 1.38 2013-02-08 21:13:20 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/RecursionLock.st,v 1.39 2013-07-25 09:22:03 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libbasic/RecursionLock.st,v 1.38 2013-02-08 21:13:20 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/RecursionLock.st,v 1.39 2013-07-25 09:22:03 cg Exp $'
 ! !