better diagnostics and disconnect claims pending channels

in tcpiiu::~tcpiiu
This commit is contained in:
Jeff Hill
2000-09-06 00:33:14 +00:00
parent 6387924a87
commit 87a8230100
25 changed files with 427 additions and 168 deletions

View File

@@ -115,3 +115,29 @@ void recvProcessThread::signalActivity ()
{
this->recvActivity.signal ();
}
void recvProcessThread::show ( unsigned level ) const
{
this->mutex.lock ();
printf ( "CA receive processing thread at %p state=%s\n",
this, this->processing ? "busy" : "idle");
if ( level > 0u ) {
printf ( "enable count %u\n", this->enableRefCount );
printf ( "blocking for completion count %u\n", this->blockingForCompletion );
}
if ( level > 1u ) {
printf ( "\tCA client at %p\n", this->pcac );
printf ( "\tshutdown command boolean %u\n", this->shutDown );
}
if ( level > 2u ) {
printf ( "Receive activity event:\n" );
this->recvActivity.show ( level - 3u );
printf ( "exit event:\n" );
this->exit.show ( level - 3u );
printf ( "processing done event:\n" );
this->processingDone.show ( level - 3u );
printf ( "mutex:\n" );
this->mutex.show ( level - 3u );
}
this->mutex.unlock ();
}