Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pike
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pikelang
pike
Commits
ebcee85e
Commit
ebcee85e
authored
27 years ago
by
Fredrik Hübinette (Hubbe)
Browse files
Options
Downloads
Patches
Plain Diff
debug removed
Rev: src/signal_handler.c:1.11.2.2
parent
2d3c0153
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/signal_handler.c
+0
-7
0 additions, 7 deletions
src/signal_handler.c
with
0 additions
and
7 deletions
src/signal_handler.c
+
0
−
7
View file @
ebcee85e
...
...
@@ -286,7 +286,6 @@ static void exit_pid_status(struct object *o)
static
RETSIGTYPE
sig_child
(
int
arg
)
{
wake_up_backend
();
fprintf
(
stderr
,
"Got sigchild %d
\n
"
,
sigchild_arrived
);
sigchild_arrived
++
;
#ifdef SIGNAL_ONESHOT
...
...
@@ -317,7 +316,6 @@ static void check_children(struct callback *foo, void *bar, void *gazonk)
{
pid_t
pid
;
int
status
;
fprintf
(
stderr
,
"Waitpid...
\n
"
);
/* We carefully reap what we saw */
#ifdef HAVE_WAITPID
pid
=
waitpid
(
-
1
,
&
status
,
WNOHANG
);
...
...
@@ -332,7 +330,6 @@ static void check_children(struct callback *foo, void *bar, void *gazonk)
#endif
#endif
#endif
fprintf
(
stderr
,
"Done...
\n
"
);
if
(
pid
>
0
)
{
if
(
pid_mapping
)
...
...
@@ -375,15 +372,11 @@ static void f_pid_status_wait(INT32 args)
{
pop_n_elems
(
args
);
init_signal_wait
();
printf
(
"Init wait
\n
"
);
while
(
THIS
->
state
==
PROCESS_RUNNING
)
{
printf
(
"Waiting...
\n
"
);
wait_for_signal
();
printf
(
"Woke up! %d
\n
"
,
sigchild_arrived
);
check_threads_etc
();
}
printf
(
"Done!
\n
"
);
exit_signal_wait
();
push_int
(
THIS
->
result
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment