From aca897331ff55c80d926b0bdb90f1c8962bf7a6e Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Wed, 10 Aug 2016 12:28:02 +0200 Subject: irmd: Graceful shutdown Threads from the threadpool will now check the state of the IRMd and exit gracefully without a need to cancel them. This avoids the unsafe call of pthread_cancel in the signal handler. --- include/ouroboros/config.h.in | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/ouroboros/config.h.in b/include/ouroboros/config.h.in index 46685569..60654676 100644 --- a/include/ouroboros/config.h.in +++ b/include/ouroboros/config.h.in @@ -47,6 +47,7 @@ #define SHM_AP_RBUFF_PREFIX "/ouroboros.rbuff." #define IRMD_MAX_FLOWS 4096 #define IRMD_THREADPOOL_SIZE 5 +#define IRMD_ACCEPT_TIMEOUT 100 /* ms */ #define IRMD_FLOW_TIMEOUT 5000 /* ms */ #define LOG_DIR "/@LOG_DIR@/" -- cgit v1.2.3