summaryrefslogtreecommitdiff
path: root/src/core/init.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-07-16 12:36:32 -0700
committerGarrett D'Amore <garrett@damore.org>2017-07-16 12:36:32 -0700
commit09b31812fa2af4e67d9d9193aaae0d7111ded15f (patch)
treecc0b1fce9c5ce181ac86430e2c49f11ae63714c0 /src/core/init.c
parentb48b18b6be688d9611b71ca60d51491c5b5127c6 (diff)
downloadnng-09b31812fa2af4e67d9d9193aaae0d7111ded15f.tar.gz
nng-09b31812fa2af4e67d9d9193aaae0d7111ded15f.tar.bz2
nng-09b31812fa2af4e67d9d9193aaae0d7111ded15f.zip
Fix locking errors in endpoints, and simplify some logic.
This cleans up the pipe creation logic greatly, and eliminates a nasty potential deadlock (lock-order incorrect.) It also adds a corret binary exponential and randomized backoff on both accept and connect.
Diffstat (limited to 'src/core/init.c')
-rw-r--r--src/core/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/init.c b/src/core/init.c
index 88c80f3f..0c294506 100644
--- a/src/core/init.c
+++ b/src/core/init.c
@@ -1,5 +1,6 @@
//
// Copyright 2016 Garrett D'Amore <garrett@damore.org>
+// Copyright 2017 Capitar IT Group BV <info@capitar.com>
//
// This software is supplied under the terms of the MIT License, a
// copy of which should be located in the distribution where this