diff options
| author | Alan Conway <aconway@apache.org> | 2008-10-10 21:19:46 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2008-10-10 21:19:46 +0000 |
| commit | 91f45702afcf3b675fe80dbcf3a452daa61469e4 (patch) | |
| tree | d3a59d07dd3b4c88fa6a16d23b168dc6de20622b /cpp/src/qpid/client/FailoverConnection.cpp | |
| parent | 792e46cad9a978c0d297c245772e57c0759cec31 (diff) | |
| download | qpid-python-91f45702afcf3b675fe80dbcf3a452daa61469e4.tar.gz | |
Failover client and example fixes & tidy up.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@703575 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/client/FailoverConnection.cpp')
| -rw-r--r-- | cpp/src/qpid/client/FailoverConnection.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/client/FailoverConnection.cpp b/cpp/src/qpid/client/FailoverConnection.cpp index cac680295d..c5d775bf82 100644 --- a/cpp/src/qpid/client/FailoverConnection.cpp +++ b/cpp/src/qpid/client/FailoverConnection.cpp @@ -146,9 +146,9 @@ FailoverConnection::failover ( ) * (and, through them, their SessionManagers and whatever else) * that we are about to failover to this new Connection. */ - // FIXME mgoulish -- get rid of two-passes here. - std::vector<FailoverSession *>::iterator sessions_iterator; + // FIXME aconway 2008-10-10: thread unsafe, possible race with concurrent newSession + std::vector<FailoverSession *>::iterator sessions_iterator; for ( sessions_iterator = sessions.begin(); sessions_iterator < sessions.end(); ++ sessions_iterator |
