diff options
author | Josh Blum | 2013-06-01 22:46:29 -0700 |
---|---|---|
committer | Josh Blum | 2013-06-01 22:46:29 -0700 |
commit | d15ca88acfbd71c5d4f8ab3dabe0f4fbde205985 (patch) | |
tree | e0ba8437cf65503fa05197e774024da4f9b54230 /lib/block.cpp | |
parent | 40af24eb55d2d43f51d7ada30566d5203f0fef8c (diff) | |
download | sandhi-d15ca88acfbd71c5d4f8ab3dabe0f4fbde205985.tar.gz sandhi-d15ca88acfbd71c5d4f8ab3dabe0f4fbde205985.tar.bz2 sandhi-d15ca88acfbd71c5d4f8ab3dabe0f4fbde205985.zip |
gras: created uid API - replaces name and unique_id
Diffstat (limited to 'lib/block.cpp')
-rw-r--r-- | lib/block.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/block.cpp b/lib/block.cpp index cd191ad..0059569 100644 --- a/lib/block.cpp +++ b/lib/block.cpp @@ -71,7 +71,7 @@ static void wait_block_cleanup(ElementImpl &self) case BLOCK_CLEANUP_WAIT: if (boost::get_system_time() > start + boost::posix_time::seconds(1)) { - std::cerr << self.id << ", waiting for you to finish." << std::endl; + std::cerr << self.repr << ", waiting for you to finish." << std::endl; state = BLOCK_CLEANUP_WARN; } break; @@ -79,7 +79,7 @@ static void wait_block_cleanup(ElementImpl &self) case BLOCK_CLEANUP_WARN: if (boost::get_system_time() > start + boost::posix_time::seconds(2)) { - std::cerr << self.id << ", give up the thread context!" << std::endl; + std::cerr << self.repr << ", give up the thread context!" << std::endl; state = BLOCK_CLEANUP_DAMN; } break; @@ -87,7 +87,7 @@ static void wait_block_cleanup(ElementImpl &self) case BLOCK_CLEANUP_DAMN: if (boost::get_system_time() > start + boost::posix_time::seconds(3)) { - std::cerr << self.id << " FAIL; application will now hang..." << std::endl; + std::cerr << self.repr << " FAIL; application will now hang..." << std::endl; state = BLOCK_CLEANUP_DOTS; } break; |