diff options
author | Josh Blum | 2012-08-30 01:05:53 -0700 |
---|---|---|
committer | Josh Blum | 2012-08-30 01:05:53 -0700 |
commit | e661028006d0f36ad10672f4d0fa034c157e882d (patch) | |
tree | 1a9449b20de7a7803f8ad38b57d9e912cb1b96a5 /lib/top_block.cpp | |
parent | 36f216977ff79a72b3c5498162659050bc7552ad (diff) | |
download | sandhi-e661028006d0f36ad10672f4d0fa034c157e882d.tar.gz sandhi-e661028006d0f36ad10672f4d0fa034c157e882d.tar.bz2 sandhi-e661028006d0f36ad10672f4d0fa034c157e882d.zip |
cleanups from the previous commit
Diffstat (limited to 'lib/top_block.cpp')
-rw-r--r-- | lib/top_block.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/top_block.cpp b/lib/top_block.cpp index 6f98449..36ff723 100644 --- a/lib/top_block.cpp +++ b/lib/top_block.cpp @@ -32,6 +32,9 @@ TopBlock::TopBlock(const std::string &name): config.topology = (*this)->topology; (*this)->executor = tsbe::Executor(config); (*this)->token = Token::make(); + std::cout << "===================================================" << std::endl; + std::cout << "== Top Block Created: " << name << std::endl; + std::cout << "===================================================" << std::endl; } void TopBlock::update(void) @@ -73,5 +76,7 @@ void TopBlock::wait(void) while (not (*this)->token.unique()) { boost::this_thread::yield(); + sleep(1); + VAR((*this)->token.use_count()); } } |