enhance(API): Add multi-threaded call
[ric-plt/lib/rmr.git] / src / rmr / nanomsg / include / rmr_private.h
index 7d78382..8e60d63 100644 (file)
@@ -42,6 +42,7 @@ struct endpoint {
        char*   addr;                   // address used for connection
        int             nn_sock;                // the nano-msg socket to write to for this entry
        int             open;                   // true if we've established the connection
+       pthread_mutex_t gate;           // must be able to serialise some transport level functions on the ep
 };
 
 /*