From f4ec20c8f0bb70a89373627731f9c5d5643d294c Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Thu, 30 Jul 2009 23:29:43 +0000 Subject: [PATCH] casDGClient::inBufBytesAvailable renamed to casDGClient :: inBufBytesPending reflecting the fact that we nlonger use a socket ioctl to check how many bytes are pending in the sockets input queue --- src/cas/generic/casDGClient.cc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/cas/generic/casDGClient.cc b/src/cas/generic/casDGClient.cc index c2c993e6d..7e978d909 100644 --- a/src/cas/generic/casDGClient.cc +++ b/src/cas/generic/casDGClient.cc @@ -707,13 +707,15 @@ void casDGClient::inBufFill ( inBufClient::fillParameter parm ) this->in.fill ( parm ); } -bufSizeT casDGClient::inBufBytesAvailable () const +bufSizeT casDGClient :: + inBufBytesPending () const { epicsGuard < epicsMutex > guard ( this->mutex ); - return this->in.bytesAvailable (); + return this->in.bytesPresent (); } -bufSizeT casDGClient::outBufBytesPresent () const +bufSizeT casDGClient :: + outBufBytesPending () const { epicsGuard < epicsMutex > guard ( this->mutex ); return this->out.bytesPresent ();