projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Kill afd->current_play_mode.
[paraslash.git]
/
signal.c
diff --git
a/signal.c
b/signal.c
index 128f6bba90fd0a9fd3b1f80adf8731d685438af1..33449c632f5214e5acd464faeeae079b0701f0d5 100644
(file)
--- a/
signal.c
+++ b/
signal.c
@@
-64,7
+64,7
@@
static void generic_signal_handler(int s)
/**
* Reap one child.
*
/**
* Reap one child.
*
- * \para
,
pid In case a child died, its pid is returned here.
+ * \para
m
pid In case a child died, its pid is returned here.
*
* Call waitpid() and print a log message containing the pid and the cause of
* the child's death.
*
* Call waitpid() and print a log message containing the pid and the cause of
* the child's death.
@@
-143,3
+143,8
@@
int para_next_signal(void)
}
return r < 0 && (errno != EAGAIN)? 0 : -E_SIGNAL_READ;
}
}
return r < 0 && (errno != EAGAIN)? 0 : -E_SIGNAL_READ;
}
+
+void para_signal_shutdown(void)
+{
+ close(signal_pipe[1]);
+}