mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-28 11:31:56 +01:00
fix race condition in session init
Signed-off-by: Dhammika Pathirana <dhammika@gmail.com>
This commit is contained in:
committed by
Martin Sustrik
parent
27e83cc525
commit
b19ee99bb1
@@ -44,6 +44,7 @@ namespace zmq
|
||||
private:
|
||||
|
||||
void finalise_initialisation ();
|
||||
void dispatch_engine ();
|
||||
|
||||
// i_inout interface implementation.
|
||||
bool read (::zmq_msg_t *msg_);
|
||||
@@ -58,6 +59,9 @@ namespace zmq
|
||||
// Associated wire-protocol engine.
|
||||
i_engine *engine;
|
||||
|
||||
// Detached transient engine.
|
||||
i_engine *ephemeral_engine;
|
||||
|
||||
// True if our own identity was already sent to the peer.
|
||||
bool sent;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user