Recent changes (master)
The following changes since commit 6e0ef20ffd975fc217aba4e7c125b420cd2fbd91:
Merge branch 'onecore' of https://github.com/ByteHamster/fio (2021-09-26 16:32:32 -0600)
are available in the Git repository at:
git://git.kernel.dk/fio.git master
for you to fetch changes up to cd312799e6a82557abbd742797b59f51e8c2c2e4:
Merge branch 'sigbreak' of https://github.com/bjpaupor/fio (2021-09-28 13:28:18 -0600)
----------------------------------------------------------------
Brandon Paupore (1):
add signal handlers for Windows SIGBREAK
Jens Axboe (1):
Merge branch 'sigbreak' of https://github.com/bjpaupor/fio
server.c | 5 +++++ t/io_uring.c | 5 +++++ 2 files changed, 10 insertions(+)
---
Diff of recent changes:
server.c +5 -0
@@ -2457,6 +2457,11 @@ static void set_sig_handlers(void) };sigaction (SIGINT , &act,NULL ); + +/* Windows uses SIGBREAK as a quit signal from other applications */ +#ifdef WIN32 +sigaction (SIGBREAK , &act,NULL ); +#endif }void fio_server_destroy_sk_key (void )
t/io_uring.c +5 -0
@@ -684,6 +684,11 @@ static void arm_sig_int(void) act.sa_handler = sig_int; act.sa_flags =SA_RESTART ;sigaction (SIGINT , &act,NULL ); + +/* Windows uses SIGBREAK as a quit signal from other applications */ +#ifdef WIN32 +sigaction (SIGBREAK , &act,NULL ); +#endif }static int setup_ring (struct submitter *s)