projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cast l_opts string names to char *
[fio.git]
/
fio.c
diff --git
a/fio.c
b/fio.c
index 284e9f2e867583f963a1388917ec030d63157fce..76c6ebd73b25e0eefb1b093ef5914530ee5b9389 100644
(file)
--- a/
fio.c
+++ b/
fio.c
@@
-114,13
+114,6
@@
static void terminate_threads(int group_id)
}
}
}
}
-/*
- * Happens on thread runs with ctrl-c, ignore our own SIGQUIT
- */
-static void sig_quit(int sig)
-{
-}
-
static void sig_int(int sig)
{
if (threads) {
static void sig_int(int sig)
{
if (threads) {
@@
-178,7
+171,7
@@
static void set_sig_handlers(void)
sigaction(SIGINT, &act, NULL);
memset(&act, 0, sizeof(act));
sigaction(SIGINT, &act, NULL);
memset(&act, 0, sizeof(act));
- act.sa_handler = sig_
qui
t;
+ act.sa_handler = sig_
in
t;
act.sa_flags = SA_RESTART;
sigaction(SIGTERM, &act, NULL);
}
act.sa_flags = SA_RESTART;
sigaction(SIGTERM, &act, NULL);
}