Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
htop
Commits
d0325cfe
Commit
d0325cfe
authored
Jun 05, 2006
by
Hisham Muhammad
Browse files
Disable old hack that's interfering with real debugging.
parent
8bc180b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
ProcessList.c
View file @
d0325cfe
...
...
@@ -650,10 +650,7 @@ void ProcessList_scan(ProcessList* this) {
this
->
totalTasks
=
0
;
this
->
runningTasks
=
0
;
signal
(
11
,
ProcessList_dontCrash
);
ProcessList_processEntries
(
this
,
PROCDIR
,
0
,
period
);
signal
(
11
,
SIG_DFL
);
for
(
int
i
=
Vector_size
(
this
->
processes
)
-
1
;
i
>=
0
;
i
--
)
{
Process
*
p
=
(
Process
*
)
Vector_get
(
this
->
processes
,
i
);
...
...
@@ -664,9 +661,3 @@ void ProcessList_scan(ProcessList* this) {
}
}
void
ProcessList_dontCrash
(
int
signal
)
{
// This ugly hack was added because I suspect some
// crashes were caused by contents of /proc vanishing
// away while we read them.
}
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