diff options
author | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2016-08-10 12:28:02 +0200 |
---|---|---|
committer | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2016-08-10 13:03:15 +0200 |
commit | aca897331ff55c80d926b0bdb90f1c8962bf7a6e (patch) | |
tree | c71b8d8c6b35ad012f4a8bb673749275fa3806bf /src/irmd/registry.c | |
parent | 27c99995c8059eb897b704d84596ca0abca6db9b (diff) | |
download | ouroboros-aca897331ff55c80d926b0bdb90f1c8962bf7a6e.tar.gz ouroboros-aca897331ff55c80d926b0bdb90f1c8962bf7a6e.zip |
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.
Diffstat (limited to 'src/irmd/registry.c')
-rw-r--r-- | src/irmd/registry.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/irmd/registry.c b/src/irmd/registry.c index 04f60009..687ff30d 100644 --- a/src/irmd/registry.c +++ b/src/irmd/registry.c @@ -22,8 +22,6 @@ #include "registry.h" -#include <ouroboros/config.h> - #define OUROBOROS_PREFIX "registry" #include <ouroboros/errno.h> |