dont hold lock while calling callbacks
This commit is contained in:
@@ -0,0 +1,70 @@
|
||||
|
||||
|
||||
/* $Id$
|
||||
*
|
||||
* L O S A L A M O S
|
||||
* Los Alamos National Laboratory
|
||||
* Los Alamos, New Mexico 87545
|
||||
*
|
||||
* Copyright, 1986, The Regents of the University of California.
|
||||
*
|
||||
* Author: Jeff Hill
|
||||
*/
|
||||
|
||||
#include <float.h>
|
||||
|
||||
#include "iocinf.h"
|
||||
|
||||
cacChannel::~cacChannel ()
|
||||
{
|
||||
}
|
||||
|
||||
caAccessRights cacChannel::accessRights () const
|
||||
{
|
||||
static caAccessRights ar ( true, true );
|
||||
return ar;
|
||||
}
|
||||
|
||||
void cacChannel::notifyStateChangeFirstConnectInCountOfOutstandingIO ()
|
||||
{
|
||||
}
|
||||
|
||||
unsigned cacChannel::searchAttempts () const
|
||||
{
|
||||
return 0u;
|
||||
}
|
||||
|
||||
double cacChannel::beaconPeriod () const
|
||||
{
|
||||
return - DBL_MAX;
|
||||
}
|
||||
|
||||
bool cacChannel::ca_v42_ok () const
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
bool cacChannel::connected () const
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
bool cacChannel::previouslyConnected () const
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
void cacChannel::hostName ( char *pBuf, unsigned bufLength ) const
|
||||
{
|
||||
if ( bufLength ) {
|
||||
localHostNameAtLoadTime.copy ( pBuf, bufLength );
|
||||
}
|
||||
}
|
||||
|
||||
// deprecated - please do not use
|
||||
const char * cacChannel::pHostName () const
|
||||
{
|
||||
return localHostNameAtLoadTime.pointer ();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user