drop unused dbCaGetUpdateCount()
This commit is contained in:
@@ -279,29 +279,6 @@ void dbCaSync(void)
|
||||
epicsEventDestroy(wake);
|
||||
}
|
||||
|
||||
DBCORE_API unsigned long dbCaGetUpdateCount(struct link *plink)
|
||||
{
|
||||
caLink *pca;
|
||||
unsigned long ret;
|
||||
|
||||
dbScanLock(plink->precord);
|
||||
pca= (caLink *)plink->value.pv_link.pvt;
|
||||
|
||||
if (!pca) {
|
||||
dbScanUnlock(plink->precord);
|
||||
return (unsigned long)-1;
|
||||
}
|
||||
|
||||
epicsMutexMustLock(pca->lock);
|
||||
|
||||
ret = pca->nUpdate;
|
||||
|
||||
epicsMutexUnlock(pca->lock);
|
||||
dbScanUnlock(plink->precord);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
void dbCaCallbackProcess(void *userPvt)
|
||||
{
|
||||
struct link *plink = (struct link *)userPvt;
|
||||
|
||||
@@ -50,8 +50,6 @@ extern struct ca_client_context * dbCaClientContext;
|
||||
#ifdef EPICS_DBCA_PRIVATE_API
|
||||
/* Wait CA link work queue to become empty. eg. after from dbPut() to OUT */
|
||||
DBCORE_API void dbCaSync(void);
|
||||
/* Get current number of data updates received. */
|
||||
DBCORE_API unsigned long dbCaGetUpdateCount(struct link *plink);
|
||||
/* Wait for the data update counter to reach the specified value. */
|
||||
DBCORE_API void testdbCaWaitForUpdateCount(DBLINK *plink, unsigned long cnt);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user