#FEATURE by cg
class: RecursionLock
changed: #critical:
better process state when waiting on a critical sema: lockWait
(for better deadLock diagnostics)
--- a/RecursionLock.st Wed Feb 05 17:27:43 2020 +0100
+++ b/RecursionLock.st Wed Feb 05 19:08:51 2020 +0100
@@ -235,6 +235,7 @@
super signal.
'RecursionLock [warning]: cleanup lock from dead process' infoPrintCR.
].
+ Processor activeProcess state:#lockWait.
gotSema := super wait.
process := active.
wasBlocked ifFalse:[OperatingSystem unblockInterrupts].