]> git.ipfire.org Git - thirdparty/curl.git/commit
tests/server/util.[ch]: add exit event to stop waiting on Windows
authorMarc Hoersken <info@marc-hoersken.de>
Sat, 18 Apr 2020 19:51:19 +0000 (21:51 +0200)
committerMarc Hoersken <info@marc-hoersken.de>
Sat, 2 May 2020 15:29:52 +0000 (17:29 +0200)
commit7dc8a981fa043b9dbbae3a632229b74dcd868bd7
treeacf333824555ebf489068faf8f21b6a06df467bc
parent551577f35791be6b9423e8f606383bc1b8394c46
tests/server/util.[ch]: add exit event to stop waiting on Windows

This commit adds a global exit event to the test servers that
Windows-specific wait routines can use to get triggered if the
program was signaled to be terminated, eg. select_ws in sockfilt.c

The exit event will be managed by the signal handling code and is
set to not reset automatically to support multiple wait routines.

Reviewed-by: Jay Satiro
Closes #5260
tests/server/util.c
tests/server/util.h