fixed race condition

This commit is contained in:
Jeff Hill
2001-09-25 23:56:48 +00:00
parent 78d663d064
commit 1f21e491ed
3 changed files with 2 additions and 8 deletions

View File

@@ -57,6 +57,8 @@ dbSubscriptionIO::~dbSubscriptionIO ()
if ( this->es ) {
db_cancel_event ( this->es );
}
this->notify.exception ( ECA_CHANDESTROY,
this->chan.pName(), this->type, this->count );
}
void dbSubscriptionIO::destroy ()
@@ -83,12 +85,6 @@ extern "C" void dbSubscriptionEventCallback ( void *pPrivate, struct dbAddr * /*
pIO->chan.callStateNotify ( pIO->type, pIO->count, pfl, pIO->notify );
}
void dbSubscriptionIO::channelDestroyNotify ()
{
this->notify.exception ( ECA_CHANDESTROY,
this->chan.pName(), this->type, this->count );
}
void dbSubscriptionIO::show ( unsigned level ) const
{
printf ( "Data base subscription IO at %p\n",