fixed sun pro warning

This commit is contained in:
Jeff Hill
2002-09-24 17:52:11 +00:00
parent 8133681a48
commit 79bb94b1ea
3 changed files with 5 additions and 4 deletions

View File

@@ -43,9 +43,10 @@
#include "dbChannelIO.h"
#include "dbPutNotifyBlocker.h"
epicsSingleton < tsFreeList < dbPutNotifyBlocker, 1024 > > dbPutNotifyBlocker::pFreeList;
epicsSingleton < tsFreeList < dbPutNotifyBlocker, 1024 > >
dbPutNotifyBlocker::pFreeList;
dbPutNotifyBlocker::dbPutNotifyBlocker ( dbChannelIO &chanIn ) :
dbPutNotifyBlocker::dbPutNotifyBlocker () :
pNotify ( 0 ), maxValueSize ( sizeof ( this->dbrScalarValue ) )
{
memset ( & this->pn, '\0', sizeof ( this->pn ) );

View File

@@ -45,7 +45,7 @@
class dbPutNotifyBlocker : public dbBaseIO {
public:
dbPutNotifyBlocker ( dbChannelIO & chanIn );
dbPutNotifyBlocker ();
void initiatePutNotify ( epicsGuard < epicsMutex > & locker,
cacWriteNotify & notify, struct dbAddr & addr,
unsigned type, unsigned long count, const void * pValue );

View File

@@ -195,7 +195,7 @@ void dbServiceIO::initiatePutNotify (
{
epicsGuard < epicsMutex > locker ( this->mutex );
if ( ! chan.dbServicePrivateListOfIO::pBlocker ) {
chan.dbServicePrivateListOfIO::pBlocker = new dbPutNotifyBlocker ( chan );
chan.dbServicePrivateListOfIO::pBlocker = new dbPutNotifyBlocker ();
this->ioTable.add ( *chan.dbServicePrivateListOfIO::pBlocker );
}
chan.dbServicePrivateListOfIO::pBlocker->initiatePutNotify (