upgraded event subscription logic

This commit is contained in:
Jeff Hill
2001-01-23 23:56:05 +00:00
parent debb5b5814
commit db43b6e983
14 changed files with 189 additions and 151 deletions

View File

@@ -34,7 +34,8 @@ recvProcessThread::recvProcessThread (cac *pcacIn) :
recvProcessThread::~recvProcessThread ()
{
this->signalShutDown ();
this->shutDown = true;
this->recvActivity.signal ();
this->exit.wait ();
}
@@ -71,12 +72,6 @@ void recvProcessThread::run ()
this->exit.signal ();
}
void recvProcessThread::signalShutDown ()
{
this->shutDown = true;
this->recvActivity.signal ();
}
void recvProcessThread::enable ()
{
unsigned copy;