summaryrefslogtreecommitdiff
path: root/src/command.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@fastmq.commkdir>2009-11-21 21:30:09 +0100
committerMartin Sustrik <sustrik@fastmq.commkdir>2009-11-21 21:30:09 +0100
commitc41daca3da6ffd033f93c3e24898414567f71eb3 (patch)
treee0e5136ba34570d1bd8c9e299aef6bd1de762837 /src/command.hpp
parent64634605b3ccb90d582cfdf380535c89bf900a0e (diff)
race condition in inproc transport shutdown fixed
Diffstat (limited to 'src/command.hpp')
-rw-r--r--src/command.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/command.hpp b/src/command.hpp
index a31805b..3099852 100644
--- a/src/command.hpp
+++ b/src/command.hpp
@@ -69,9 +69,12 @@ namespace zmq
} attach;
// Sent from session to socket to establish pipe(s) between them.
+ // If adjust_seqnum is true, caller have used inc_seqnum beforehand
+ // and thus the callee should take care of catching up.
struct {
class reader_t *in_pipe;
class writer_t *out_pipe;
+ bool adjust_seqnum;
} bind;
// Sent by pipe writer to inform dormant pipe reader that there