added comment

This commit is contained in:
Jeff Hill
2001-09-25 00:09:26 +00:00
parent c4b6554964
commit 8b0161c463
2 changed files with 5 additions and 1 deletions
+2
View File
@@ -588,6 +588,8 @@ extern "C" int epicsShareAPI ca_add_masked_array_event (
*monixptr = pTmp;
}
pTmp->begin ( tmpType, count, mask );
// dont touch pTmp after this because
// the first callback might have canceled it
return ECA_NORMAL;
}
else {
+3 -1
View File
@@ -350,8 +350,10 @@ inline oldSubscription::oldSubscription (
inline void oldSubscription::begin ( unsigned type,
arrayElementCount nElem, unsigned mask )
{
this->chan.subscribe ( type, nElem, mask, *this, this->id );
this->subscribed = true;
this->chan.subscribe ( type, nElem, mask, *this, this->id );
// dont touch this pointer after this point because the
// 1st update callback might cancel the subscription
}
inline void oldSubscription::destroy ()