Experimental Physics and
| |||||||||||||||||
|
Hi i want to learn how we can use epicsEvents in asynDriver. In multi-threading in epics. I want to pass signal form scanning thread to other created thread. I am not clear where i have to create epics event and where to destroy. In my asynDriver i am creating epicsThread at initialisation then wait for signal (epicsEventWait) form scanning thread to calculate some value. I am signal to this thread with epicsEventSignal form asynInt32Write function. In this case i have to create event (epicsEventCreate) at initialisation before creating thread or at scanning thread and destroy event after completion of created thread ( in this case every time event is created and destroy-> is it good for asynDriver development?) . or create event at created thread and destroy after completion of calculation. Thank you Vishnu
| ||||||||||||||||
ANJ, 20 Apr 2015 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |