From ae944a8de32c107eea9427104e153c25e4a681f1 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Mon, 6 Aug 2018 19:01:12 +0300 Subject: Revert "fixes #599 nng_dial sync should not return until added to socket" This changeset needs work. We are seeing errors described by This reverts commit d7f7c896c0ede24249ef63b1e45b1878bf4bd473. --- src/core/socket.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core/socket.h') diff --git a/src/core/socket.h b/src/core/socket.h index cebe87ca..4b9c4642 100644 --- a/src/core/socket.h +++ b/src/core/socket.h @@ -62,6 +62,8 @@ extern uint32_t nni_sock_flags(nni_sock *); // should be executed. extern void nni_sock_set_pipe_cb(nni_sock *sock, int, nng_pipe_cb, void *); +extern bool nni_sock_closing(nni_sock *sock); + // nni_ctx_open is used to open/create a new context structure. // Contexts are not supported by most protocols, but for those that do, // this can offer some improvements for massive concurrency/scalability. -- cgit v1.2.3-70-g09d2