equal
deleted
inserted
replaced
40 like a Semaphore for mutual exclusion, but avoids the deadlock |
40 like a Semaphore for mutual exclusion, but avoids the deadlock |
41 if a critical region is reentered by the same process again. |
41 if a critical region is reentered by the same process again. |
42 I.e. allows reentering the critical region IFF the current process |
42 I.e. allows reentering the critical region IFF the current process |
43 is the one which did the original locking. |
43 is the one which did the original locking. |
44 |
44 |
|
45 WARNING: |
|
46 for now, recursionLocks are not unlocked when an image is |
|
47 restarted. You may have to recreate them to avoid a deadLock. |
|
48 (this may change in the future, but recreating a recursionLock in |
|
49 the #earlyRestart handling does not hurt) |
45 |
50 |
46 [author:] |
51 [author:] |
47 Claus Gittinger |
52 Claus Gittinger |
48 |
53 |
49 [see also:] |
54 [see also:] |
183 ! ! |
188 ! ! |
184 |
189 |
185 !RecursionLock class methodsFor:'documentation'! |
190 !RecursionLock class methodsFor:'documentation'! |
186 |
191 |
187 version |
192 version |
188 ^ '$Header: /cvs/stx/stx/libbasic/RecursionLock.st,v 1.19 1998-03-06 15:27:23 stefan Exp $' |
193 ^ '$Header: /cvs/stx/stx/libbasic/RecursionLock.st,v 1.20 1998-06-07 00:44:07 cg Exp $' |
189 ! ! |
194 ! ! |