diff --git a/src/ca/cadef.h b/src/ca/cadef.h index ef5c8b5c6..a42a388e8 100644 --- a/src/ca/cadef.h +++ b/src/ca/cadef.h @@ -708,6 +708,7 @@ evid /* EVID R Event id returned by add event */ /* early is TRUE then ca_pend() will return immediately without */ /* processing outstanding CA labor if no queries are outstanding */ /************************************************************************/ +#define ca_poll() ca_pend((1e-12), 0/*FALSE*/) #define ca_pend_event(TIMEOUT) ca_pend((TIMEOUT), 0/*FALSE*/) #define ca_pend_io(TIMEOUT) ca_pend((TIMEOUT), 1/*TRUE*/) @@ -797,6 +798,9 @@ chid /* CHID R Channel ID */ * a new fd is added or removed * (for use with a manager of the select system call under UNIX) * + * if (opened) then fd was created + * if (!opened) then fd was deleted + * */ #ifdef CAC_FUNC_PROTO typedef void CAFDHANDLER(void *parg, int fd, int opened); @@ -934,6 +938,11 @@ void * /* PVALUE R pointer to new channel value of type */ #endif /*CAC_FUNC_PROTO*/ ); +/* + * print status of a sync group + */ +int epicsShareAPI ca_sg_stat(CA_SYNC_GID gid); + /* * CA_MODIFY_USER_NAME() * diff --git a/src/include/cadef.h b/src/include/cadef.h index ef5c8b5c6..a42a388e8 100644 --- a/src/include/cadef.h +++ b/src/include/cadef.h @@ -708,6 +708,7 @@ evid /* EVID R Event id returned by add event */ /* early is TRUE then ca_pend() will return immediately without */ /* processing outstanding CA labor if no queries are outstanding */ /************************************************************************/ +#define ca_poll() ca_pend((1e-12), 0/*FALSE*/) #define ca_pend_event(TIMEOUT) ca_pend((TIMEOUT), 0/*FALSE*/) #define ca_pend_io(TIMEOUT) ca_pend((TIMEOUT), 1/*TRUE*/) @@ -797,6 +798,9 @@ chid /* CHID R Channel ID */ * a new fd is added or removed * (for use with a manager of the select system call under UNIX) * + * if (opened) then fd was created + * if (!opened) then fd was deleted + * */ #ifdef CAC_FUNC_PROTO typedef void CAFDHANDLER(void *parg, int fd, int opened); @@ -934,6 +938,11 @@ void * /* PVALUE R pointer to new channel value of type */ #endif /*CAC_FUNC_PROTO*/ ); +/* + * print status of a sync group + */ +int epicsShareAPI ca_sg_stat(CA_SYNC_GID gid); + /* * CA_MODIFY_USER_NAME() *