fixed race condition
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user