diff options
author | Christian Pointner <equinox@anytun.org> | 2008-02-04 21:07:50 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2008-02-04 21:07:50 +0000 |
commit | 1fd035fb9c2d659deea96d2ac5675869c7105566 (patch) | |
tree | a35e604644846f7fa0ea3878c062ab0cfa30a30d /syncQueue.cpp | |
parent | fixed bug @ sync (diff) |
fixed Deadlock @ connecetionlist
Diffstat (limited to 'syncQueue.cpp')
-rw-r--r-- | syncQueue.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/syncQueue.cpp b/syncQueue.cpp index 7d3c35f..81c8a0e 100644 --- a/syncQueue.cpp +++ b/syncQueue.cpp @@ -42,10 +42,15 @@ #include "syncQueue.h" void SyncQueue::push(const SyncCommand & scom ) { + + std::cout << "entered push" << std::endl; + std::ostringstream sout; boost::archive::text_oarchive oa(sout); oa << scom; + std::cout << "after serialize" << std::endl; + Lock lock(mutex_); queue_.push(sout.str()); } |