From 9fe905a8040a7e089233125a003ef8911d98ddbd Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 19 Mar 2017 21:41:26 -0700 Subject: Holds instead of references (holds from nng user land). --- src/core/endpt.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/endpt.h') diff --git a/src/core/endpt.h b/src/core/endpt.h index 2b685590..6230ca9f 100644 --- a/src/core/endpt.h +++ b/src/core/endpt.h @@ -30,9 +30,9 @@ struct nni_ep { int ep_mode; int ep_close; // full shutdown int ep_bound; // true if we bound locally - int ep_refcnt; nni_cv ep_cv; - nni_cv ep_refcv; + int ep_holds; // user references (by id) + nni_cv ep_holdcv; nni_pipe * ep_pipe; // Connected pipe (dialers only) }; -- cgit v1.2.3-70-g09d2