clean up get copy ifit fails prematurely

This commit is contained in:
Jeff Hill
2001-06-04 23:12:59 +00:00
parent 22b5eca868
commit 93a8be53d8

View File

@@ -36,10 +36,20 @@ getCopy::~getCopy ()
{
}
void getCopy::cancel ()
{
this->cacCtx.decrementOutstandingIO ( this->readSeq );
}
void getCopy::destroy ()
{
delete this;
}
void getCopy::completion ( unsigned typeIn,
arrayElementCount countIn, const void *pDataIn )
{
if ( this->type == typeIn ) {
if ( this->type == typeIn ) {
memcpy ( this->pValue, pDataIn, dbr_size_n ( typeIn, countIn ) );
this->cacCtx.decrementOutstandingIO ( this->readSeq );
}