a=: {{> ". 'b' [ 6!:3]2}} t.'' 0
   b=: {{> ". 'a' [ 6!:3]2}} t.'' 0
   >a
[hang]

actually, it's enough to make it wait on itself:

   a=: {{> ". 'a' [ 6!:3]2}}t.'' 0
   >a
[hang]

Probably it should be an error. E.G. pthread_join will return EDEADLK when it encounters an analogous situation.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to