added new uninstal methods which are initially noops

This commit is contained in:
Jeff Hill
2001-01-25 02:16:22 +00:00
parent 1cfca09aa1
commit 70b368c854
3 changed files with 12 additions and 0 deletions
+2
View File
@@ -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 );
};
+6
View File
@@ -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 ()
}
}
+4
View File
@@ -55,6 +55,10 @@ void dbSubscriptionIO::destroy ()
delete this;
}
void dbSubscriptionIO::uninstall ()
{
}
void * dbSubscriptionIO::operator new ( size_t size )
{
return dbSubscriptionIO::freeList.allocate ( size );