diff options
| author | Carl C. Trieloff <cctrieloff@apache.org> | 2007-07-06 13:11:55 +0000 |
|---|---|---|
| committer | Carl C. Trieloff <cctrieloff@apache.org> | 2007-07-06 13:11:55 +0000 |
| commit | 2dd8ce9e52f024e79bf51dd71956552294448cea (patch) | |
| tree | 2d53a9e84d2df5a9ba2b7cc9fff60a145d6e87d2 /qpid/cpp/examples | |
| parent | a95356e17d920219f933343d54c8644d69dfe077 (diff) | |
| download | qpid-python-2dd8ce9e52f024e79bf51dd71956552294448cea.tar.gz | |
- added sleep to waiting thread.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@553873 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/examples')
| -rw-r--r-- | qpid/cpp/examples/topic_listener.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/examples/topic_listener.cpp b/qpid/cpp/examples/topic_listener.cpp index a5de89a736..799d564aa2 100644 --- a/qpid/cpp/examples/topic_listener.cpp +++ b/qpid/cpp/examples/topic_listener.cpp @@ -80,7 +80,7 @@ int main() { channel.start(); while (!done) - ; + sleep(1000); //----------------------------------------------------------------------------- channel.close(); |
