fixed sun pro warning
This commit is contained in:
@@ -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 ) );
|
||||
|
||||
@@ -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 );
|
||||
|
||||
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user