summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/ISList.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2008-02-18 21:54:02 +0000
committerAlan Conway <aconway@apache.org>2008-02-18 21:54:02 +0000
commita7f3deabb9f613f26deb0fc08110cdb306b9e071 (patch)
treec387004dc89ccddd325fa295aa70818df4742065 /qpid/cpp/src/tests/ISList.cpp
parent0af7e61dd49a2a3bdc9ca143b80b85924d5d93c7 (diff)
downloadqpid-python-a7f3deabb9f613f26deb0fc08110cdb306b9e071.tar.gz
Fixed race condition in the examples: when a listener program prints
its "ready" message, the commands it has sent to the broker may not yet be complete. This results in sporadic lost messages if the producer is started immediately (e.g. by a script.) - Added Session::sync(), wait till all commands to date have completed. - Call sync() before printing "ready" in listener example programs - Removed sleep from verify script git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@628875 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/ISList.cpp')
0 files changed, 0 insertions, 0 deletions