diff options
author | Alan Conway <aconway@apache.org> | 2009-03-08 23:52:35 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2009-03-08 23:52:35 +0000 |
commit | bab8070ad7989386b11f4106d9f15e73d9246c1d (patch) | |
tree | dfca93bc4ca56de921c01f87e966855816744484 /cpp/src/qpid/cluster/Event.cpp | |
parent | e14ed937f459d07735a5ed22636127fdf81dc88c (diff) | |
download | qpid-python-bab8070ad7989386b11f4106d9f15e73d9246c1d.tar.gz |
Fixed race conditions in cluster.
Execute all cluster logic in frameDeliverQueue thread,
decoding only in eventDeliverQueue thread.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@751557 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/Event.cpp')
-rw-r--r-- | cpp/src/qpid/cluster/Event.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/cluster/Event.cpp b/cpp/src/qpid/cluster/Event.cpp index ccb4d3ede8..1cb010c266 100644 --- a/cpp/src/qpid/cluster/Event.cpp +++ b/cpp/src/qpid/cluster/Event.cpp @@ -44,7 +44,7 @@ const size_t EventHeader::HEADER_SIZE = ; EventHeader::EventHeader(EventType t, const ConnectionId& c, size_t s) - : type(t), connectionId(c), size(s), id(0) {} + : type(t), connectionId(c), size(s) {} Event::Event() {} @@ -128,7 +128,7 @@ std::ostream& operator << (std::ostream& o, EventType t) { } std::ostream& operator << (std::ostream& o, const EventHeader& e) { - o << "Event[id=" << e.getId() << " connection=" << e.getConnectionId() << " " << e.getType() << " " << e.getSize() << " bytes]"; + o << "Event[" << e.getConnectionId() << " " << e.getType() << " " << e.getSize() << " bytes]"; return o; } |