From 1fd035fb9c2d659deea96d2ac5675869c7105566 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Mon, 4 Feb 2008 21:07:50 +0000 Subject: fixed Deadlock @ connecetionlist --- syncQueue.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'syncQueue.cpp') 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()); } -- cgit v1.2.3