15 #define epicsAssertAuthor "Jeff Hill johill@lanl.gov" 37 pcasg =
new ( pcac->casgFreeList )
CASG ( guard, *pcac );
38 *pgid = pcasg->getId ();
41 catch ( std::bad_alloc & ) {
56 cac.casgFreeList.
release ( pcasg );
73 if ( pcac->pCallbackGuard.get() &&
98 if ( client.pCallbackGuard.get() &&
101 sg.
reset ( *client.pCallbackGuard.get(), guard );
114 sg.
reset ( cbGuard, guard );
138 status = pcasg->
block (
139 pcac->pCallbackGuard.get (), guard,
timeout );
194 pcasg->show ( guard, 1000u );
211 if ( pcac->pCallbackGuard.get() &&
214 isComplete = pcasg->ioComplete ( *pcac->pCallbackGuard.get(), guard );
227 isComplete = pcasg->ioComplete ( cbGuard, guard );
263 pcasg->put ( guard, pChan, type,
264 static_cast < unsigned > ( count ), pValue );
295 catch ( std::bad_alloc & )
325 pcasg->get ( guard, pChan, type,
326 static_cast < unsigned > ( count ), pValue );
353 catch ( std::bad_alloc & )
int epicsStdCall ca_sg_array_get(const CA_SYNC_GID gid, chtype type, arrayElementCount count, chid pChan, void *pValue)
int epicsStdCall ca_sg_test(const CA_SYNC_GID gid)
void reset(CallbackGuard &, epicsGuard< epicsMutex > &)
void destructor(CallbackGuard &, epicsGuard< epicsMutex > &guard)
pvd::StructureConstPtr type
epicsMutex & mutexRef() const
int epicsStdCall ca_sg_stat(const CA_SYNC_GID gid)
int epicsStdCall ca_sg_reset(const CA_SYNC_GID gid)
int ca_sync_group_destroy(CallbackGuard &cbGuard, epicsGuard< epicsMutex > &guard, ca_client_context &cac, const CA_SYNC_GID gid)
int block(epicsGuard< epicsMutex > *pcbGuard, epicsGuard< epicsMutex > &guard, double timeout)
int epicsStdCall ca_sg_create(CA_SYNC_GID *pgid)
int fetchClientContext(ca_client_context **ppcac)
int epicsStdCall ca_sg_block(const CA_SYNC_GID gid, ca_real timeout)
unsigned long arrayElementCount
CASG * lookupCASG(epicsGuard< epicsMutex > &, unsigned id)
int epicsStdCall ca_sg_delete(const CA_SYNC_GID gid)
void sync_group_reset(ca_client_context &client, CASG &sg)
int epicsStdCall ca_sg_array_put(const CA_SYNC_GID gid, chtype type, arrayElementCount count, chid pChan, const void *pValue)
#define ECA_UNAVAILINSERV
LIBCOM_API epicsThreadId epicsStdCall epicsThreadGetIdSelf(void)