On Wed, Apr 27, 2022 at 12:24 PM Henry Rich <[email protected]> wrote: > JE currently avoids your deadlock problem by not having deadlock > detection. I'd like to keep it that way if possible.
Hmm... That works as long as we do not have deadlocks which we need to detect. Locking more than one name creates potential deadlock situations. A primitive which locks names in sequence (and errors when the names it locks are already locked, but were locked in a different order) gives us a reliable mechanism for avoiding deadlocks. > Querying the status of a lock should be easy, as long as you don't > expect JE to tell you which task(s) have the lock(s). I do not currently have a problem with that. -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
