diff --git a/src/ca/tcpiiu_IL.h b/src/ca/tcpiiu_IL.h index 5378345a5..bfe41563c 100644 --- a/src/ca/tcpiiu_IL.h +++ b/src/ca/tcpiiu_IL.h @@ -23,7 +23,7 @@ inline bool tcpiiu::fullyConstructed () const inline void tcpiiu::hostName ( char *pBuf, unsigned bufLength ) const { - epicsAutoMutex autoMutex ( this->mutex ); + epicsAutoMutex locker ( this->mutex ); if ( this->pHostNameCache ) { this->pHostNameCache->hostName ( pBuf, bufLength ); } @@ -32,7 +32,7 @@ inline void tcpiiu::hostName ( char *pBuf, unsigned bufLength ) const } } -// deprecated - please dont use +// deprecated - please dont use - this is _not_ thread safe inline const char * tcpiiu::pHostName () const { static char nameBuf [128]; @@ -50,11 +50,6 @@ inline bool tcpiiu::ca_v44_ok () const return CA_V44 ( CA_PROTOCOL_VERSION, this->minorProtocolVersion ); } -inline bool tcpiiu::ca_v42_ok () const -{ - return CA_V42 ( CA_PROTOCOL_VERSION, this->minorProtocolVersion ); -} - inline bool tcpiiu::ca_v41_ok () const { return CA_V41 ( CA_PROTOCOL_VERSION, this->minorProtocolVersion );