added new uninstal methods which are initially noops
This commit is contained in:
@@ -45,6 +45,7 @@ private:
|
||||
dbPutNotifyBlocker &blocker;
|
||||
static tsFreeList < dbPutNotifyIO > freeList;
|
||||
~dbPutNotifyIO (); // must allocate out of pool
|
||||
void uninstall ();
|
||||
};
|
||||
|
||||
extern "C" void dbSubscriptionEventCallback ( void *pPrivate, struct dbAddr *paddr,
|
||||
@@ -65,6 +66,7 @@ private:
|
||||
unsigned long count;
|
||||
static tsFreeList < dbSubscriptionIO > freeList;
|
||||
~dbSubscriptionIO (); // must be allocated from pool
|
||||
void uninstall ();
|
||||
friend void dbSubscriptionEventCallback ( void *pPrivate, struct dbAddr *paddr,
|
||||
int eventsRemaining, struct db_field_log *pfl );
|
||||
};
|
||||
|
||||
@@ -51,6 +51,10 @@ dbPutNotifyIO::~dbPutNotifyIO ()
|
||||
this->blocker.putNotifyDestroyNotify ();
|
||||
}
|
||||
|
||||
void dbPutNotifyIO::uninstall ()
|
||||
{
|
||||
}
|
||||
|
||||
int dbPutNotifyIO::initiate ( struct dbAddr &addr, unsigned type,
|
||||
unsigned long count, const void *pValue)
|
||||
{
|
||||
@@ -99,3 +103,5 @@ void dbPutNotifyIO::completion ()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -55,6 +55,10 @@ void dbSubscriptionIO::destroy ()
|
||||
delete this;
|
||||
}
|
||||
|
||||
void dbSubscriptionIO::uninstall ()
|
||||
{
|
||||
}
|
||||
|
||||
void * dbSubscriptionIO::operator new ( size_t size )
|
||||
{
|
||||
return dbSubscriptionIO::freeList.allocate ( size );
|
||||
|
||||
Reference in New Issue
Block a user