This is the mail archive of the frysk@sources.redhat.com mailing list for the frysk project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Andrew, The reason the test hangs is because the various Signal.kill (pid, Sig.KILL); Signal.kill (pid, Sig.CONT); and Ptrace.detach (pid, Sig.KILL); aren't actually managing to kill, detach, or otherwise make all the processes go away. I wired up the following "while (!children.isEmpty()) {}" code to see what's actually happening in the waitAll() and all it's getting is "stopped()"--disappeared() never happens. Since disappeared() never happens, children.remove(new Integer(pid)); never happens so (!children.isEmpty()) never goes false so after everything there is to wait for has happened a final waitAll() never returns. I've got a queue of kids outside my office demanding dinner, so I'll poke at this some more later. Chris
Attachment:
signature.asc
Description: OpenPGP digital signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |