summaryrefslogtreecommitdiff
path: root/syncQueue.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'syncQueue.cpp')
-rw-r--r--syncQueue.cpp5
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());
}