mirror of
https://github.com/winfsp/winfsp.git
synced 2025-07-03 09:22:57 -05:00
launcher: better handling of service instance stopping:
- instances are now launched in a job so that they get killed if the parent process dies - instances are killed after a timeout if they do not respond timely to console control events
This commit is contained in:
@ -21,6 +21,8 @@
|
||||
#include <winfsp/winfsp.h>
|
||||
#include <shared/minimal.h>
|
||||
|
||||
#define STOP_TIMEOUT 5000
|
||||
|
||||
#define PIPE_NAME "\\\\.\\pipe\\WinFsp.{14E7137D-22B4-437A-B0C1-D21D1BDF3767}"
|
||||
#define PIPE_BUFFER_SIZE 2048
|
||||
#define PIPE_DEFAULT_TIMEOUT 3000
|
||||
|
Reference in New Issue
Block a user