#FEATURE by cg
authorClaus Gittinger <cg@exept.de>
Wed, 05 Feb 2020 19:08:51 +0100
changeset 25246 9318f9bff60d
parent 25245 50a569eaaba3
child 25247 8465a672d8b0
#FEATURE by cg class: RecursionLock changed: #critical: better process state when waiting on a critical sema: lockWait (for better deadLock diagnostics)
RecursionLock.st
--- 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].