dont hold lock while calling callbacks

This commit is contained in:
Jeff Hill
2001-04-16 22:38:38 +00:00
parent 4b99a3d268
commit 332a7228a8
42 changed files with 2623 additions and 1964 deletions

View File

@@ -34,17 +34,7 @@ getCopy::~getCopy ()
{
}
void getCopy::release ()
{
delete this;
}
void getCopy::completionNotify ( cacChannelIO &io )
{
this->cacNotify::completionNotify ( io );
}
void getCopy::completionNotify ( cacChannelIO &chan, unsigned typeIn,
void getCopy::completion ( unsigned typeIn,
unsigned long countIn, const void *pDataIn )
{
if ( this->type == typeIn ) {
@@ -52,22 +42,19 @@ void getCopy::completionNotify ( cacChannelIO &chan, unsigned typeIn,
this->cacCtx.decrementOutstandingIO ( this->readSeq );
}
else {
this->exceptionNotify ( chan, ECA_INTERNAL,
"bad data type match in get copy back response" );
this->exception ( ECA_INTERNAL,
"bad data type match in get copy back response",
typeIn, countIn);
}
delete this;
}
void getCopy::exceptionNotify ( cacChannelIO &chan,
int status, const char *pContext )
{
this->cacNotify::exceptionNotify ( chan, status, pContext );
}
void getCopy::exceptionNotify ( cacChannelIO &chan,
void getCopy::exception (
int status, const char *pContext, unsigned typeIn, unsigned long countIn )
{
this->cacNotify::exceptionNotify ( chan, status, pContext, typeIn, countIn );
this->cacCtx.exception ( status, pContext, typeIn,
countIn, __FILE__, __LINE__ );
delete this;
}
void getCopy::show ( unsigned level ) const