added destroyInProgress flag

This commit is contained in:
Jeff Hill
1996-12-06 22:35:06 +00:00
parent 59304ffd99
commit 7f8be4b3a1

View File

@@ -29,6 +29,9 @@
*
* History
* $Log$
* Revision 1.5 1996/11/02 00:54:22 jhill
* many improvements
*
* Revision 1.4 1996/09/04 20:23:17 jhill
* init new member cas and add arg to serverToolDebug()
*
@@ -59,7 +62,8 @@ casPVI::casPVI(caServerI &casIn, const char * const pNameIn,
cas(casIn),
pv(pvAdapterIn),
nMonAttached(0u),
nIOAttached(0u)
nIOAttached(0u),
destroyInProgress(FALSE)
{
assert(&this->cas);
assert(&this->pv);
@@ -77,6 +81,9 @@ casPVI::~casPVI()
this->lock();
assert(!this->destroyInProgress);
this->destroyInProgress = TRUE;
//
// delete any attached channels
//