You could let JHS server control both processes. They would tell the JHS server once in a while that they are alive and each can then ask the JHS server if the other is alive.
That way you would not tie each process up waiting for the other. JHS is an expert in waiting for requests and only needs to inform the others. ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm