summaryrefslogtreecommitdiff
path: root/cpp/examples/qmf-console/queuestats.cpp
diff options
context:
space:
mode:
authorStephen D. Huston <shuston@apache.org>2009-03-12 20:55:34 +0000
committerStephen D. Huston <shuston@apache.org>2009-03-12 20:55:34 +0000
commit0398410e8894287da530cfb63d6344817445bfc2 (patch)
treee4d789cd965f25c8fb0a51e1cf71df0a5330e73b /cpp/examples/qmf-console/queuestats.cpp
parent47db7ebfc533d2dc8a3dfc3b9d1273730b8779e6 (diff)
downloadqpid-python-0398410e8894287da530cfb63d6344817445bfc2.tar.gz
Changes to build DLLs instead of static libs on Windows; primarily added decorators to exported names. Fixes QPID-1673
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@753014 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/examples/qmf-console/queuestats.cpp')
-rw-r--r--cpp/examples/qmf-console/queuestats.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/examples/qmf-console/queuestats.cpp b/cpp/examples/qmf-console/queuestats.cpp
index ea6dc13022..2c38777ad8 100644
--- a/cpp/examples/qmf-console/queuestats.cpp
+++ b/cpp/examples/qmf-console/queuestats.cpp
@@ -21,6 +21,7 @@
#include "qpid/console/ConsoleListener.h"
#include "qpid/console/SessionManager.h"
+#include "qpid/sys/Time.h"
using namespace std;
using namespace qpid::console;
@@ -123,7 +124,7 @@ int main_int(int /*argc*/, char** /*argv*/)
// Sleep while the listener does all the work asynchronously.
//
for (;;) {
- sleep(1);
+ qpid::sys::sleep(1);
}
sm.delBroker(broker);