dont hold lock while calling callbacks

This commit is contained in:
Jeff Hill
2001-04-16 22:38:38 +00:00
parent 4b99a3d268
commit 332a7228a8
42 changed files with 2623 additions and 1964 deletions
+70
View File
@@ -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 ();
}