Example Asynchronous Read Completion


void devXxxAsyncIOCompletion(struct aiRecord *pai, long ioStatus)

{

struct rset *prset = (struct rset *) pai->

dbScanLock(pai);

if (ioStatus != S_devXxx_OK) {

recGblSetSevr(pai, READ_ALARM, INVALID_ALARM);

}

(*prset->)(pai);

dbScanUnlock(pai);

}

Previous slide Next slide Back to first slide View graphic version

| LANL | Lansce | UC | DOE |

L O S   A L A M O S   N A T I O N A L    L A B O R A T O R Y
Operated by the University of California for the US Department of Energy

Copyright � 1996 UC   Disclaimer   


For problems or questions regarding this web site contact George Vaughn.