improved show diagnostic

This commit is contained in:
Jeff Hill
2009-08-10 21:41:59 +00:00
parent 562db1e24c
commit 56c4c92588
2 changed files with 7 additions and 9 deletions
+4 -1
View File
@@ -131,7 +131,10 @@ void timerQueueActive::show ( unsigned int level ) const
{
printf ( "EPICS threaded timer queue at %p\n",
static_cast <const void *> ( this ) );
if ( level >=1u ) {
if ( level > 0u ) {
// specifying level one here avoids recursive
// show callback
this->thread.show ( 1u );
this->queue.show ( level - 1u );
printf ( "reschedule event\n" );
this->rescheduleEvent.show ( level - 1u );