On Wed, Apr 13, 2022 at 6:03 PM Henry Rich <[email protected]> wrote:
> OK, I see.  The expression is an error without the assignment to a, but
> the assignment creates a race condition that can result in a self-reference.
>
> I guess it is possible to detect the situation when all the non-idle
> threads are waiting for a pyx, and halt everything then. Like with
> jbreak, what state would the threads be in?

Given that opening a pyx can result in an error, I think opening a pyx
should possibly result in a suspension (if suspension is enabled).
Also, deadlock should be an error.

Does this make sense from your perspective?

Thanks,

-- 
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to