Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
3e595be5
Commit
3e595be5
authored
Jan 05, 2006
by
Tom Tromey
Committed by
Tom Tromey
Jan 05, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* java/lang/natPosixProcess.cc (reap): Ignore unknown children.
From-SVN: r109383
parent
758cf3f2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
libjava/ChangeLog
+4
-0
libjava/java/lang/natPosixProcess.cc
+3
-6
No files found.
libjava/ChangeLog
View file @
3e595be5
2006
-
01
-
05
Tom
Tromey
<
tromey
@
redhat
.
com
>
*
java
/
lang
/
natPosixProcess
.
cc
(
reap
):
Ignore
unknown
children
.
2006
-
01
-
04
Krister
Walfridsson
<
cato
@
df
.
lth
.
se
>
*
posix
-
threads
.
cc
(
_Jv_InitThreads
):
#
ifdef
PTHREAD_STACK_MIN
...
...
libjava/java/lang/natPosixProcess.cc
View file @
3e595be5
// natPosixProcess.cc - Native side of POSIX process code.
/* Copyright (C) 1998, 1999, 2000, 2002, 2003, 2004, 2005 Free Software Foundation
/* Copyright (C) 1998, 1999, 2000, 2002, 2003, 2004, 2005
, 2006
Free Software Foundation
This file is part of libgcj.
...
...
@@ -170,6 +170,8 @@ jboolean java::lang::ConcreteProcess$ProcessManager::reap ()
// 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 @@ jboolean java::lang::ConcreteProcess$ProcessManager::reap ()
process
->
processTerminationCleanup
();
process
->
notifyAll
();
}
else
{
// Unknown child. How did this happen?
fprintf
(
stderr
,
"Reaped unknown child pid = %ld
\n
"
,
(
long
)
pid
);
}
}
error
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment