diff --git a/src/client/clientSync.cpp b/src/client/clientSync.cpp index f05ccee..8bc3fea 100644 --- a/src/client/clientSync.cpp +++ b/src/client/clientSync.cpp @@ -322,10 +322,9 @@ MonitorSync::MonitorSync(const Monitor& mon, const std::tr1::shared_ptr& } MonitorSync::~MonitorSync() { - std::cout<<"SYNC use_count="<mutex); diff --git a/src/client/pva/client.h b/src/client/pva/client.h index 19d3d38..6cb578b 100644 --- a/src/client/pva/client.h +++ b/src/client/pva/client.h @@ -152,7 +152,7 @@ struct epicsShareClass MonitorSync : public Monitor //! @return false on timeout bool wait(double timeout); //! check if new event is available - bool poll(); + bool test(); //! Abort one call to wait() //! wait() will return with MonitorEvent::Fail @@ -315,7 +315,7 @@ public: * Otherwise an internal epicsEvent is allocated for use with wait() * * @note For simple usage with a single MonitorSync, pass event=NULL and call wait(). - * If more than one MonitorSync is being created, then pass a custom epicsEvent and use poll() to test + * If more than one MonitorSync is being created, then pass a custom epicsEvent and use test() to find * which subscriptions have events pending. */ MonitorSync monitor(const epics::pvData::PVStructure::const_shared_pointer& pvRequest = epics::pvData::PVStructure::const_shared_pointer(),