This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java 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] | |
Hi Tom,
On Thu, 2006-01-05 at 10:26 -0700, Tom Tromey wrote:
> // Look up the process in our pid map.
> ConcreteProcess * process = removeProcessFromMap ((jlong) pid);
>
> + // Note that if process==NULL, then we have an unknown child.
> + // This is not common, but can happen, and isn't an error.
> if (process)
> {
> JvSynchronize sync (process);
> @@ -178,11 +180,6 @@
> process->processTerminationCleanup();
> process->notifyAll ();
> }
> - else
> - {
> - // Unknown child. How did this happen?
> - fprintf (stderr, "Reaped unknown child pid = %ld\n", (long) pid);
> - }
> }
So how/when does this happen? And why isn't it an error?
Cheers,
Mark
Attachment:
signature.asc
Description: This is a digitally signed message part
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |