From ebfded810745d48b08151f8dcb580d2c0babc834 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Mon, 22 Mar 2004 18:36:59 +0000 Subject: [PATCH] new flag preventing subscription from being installed twice --- src/ca/netIO.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ca/netIO.h b/src/ca/netIO.h index 42d0c3d25..a9b12a110 100644 --- a/src/ca/netIO.h +++ b/src/ca/netIO.h @@ -87,6 +87,8 @@ public: epicsGuard < epicsMutex > & ) const; unsigned getMask ( epicsGuard < epicsMutex > & ) const; + void subscribeIfRequired ( + epicsGuard < epicsMutex > & guard, nciu & chan ); void subscriptionUpdateIfRequired ( epicsGuard < epicsMutex > &, nciu & ); protected: @@ -102,6 +104,7 @@ private: const unsigned type; const unsigned mask; bool updateWhileDisconnected; + bool subscribed; class netSubscription * isSubscription (); void * operator new ( size_t ); void operator delete ( void * );