EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: epicsEvents
From: "Vishnu Patel" <[email protected]>
To: "techtalk" <[email protected]>
Date: 17 Oct 2013 10:04:54 -0000

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

Get your own FREE website, FREE domain & FREE mobile app with Company email.  
Know More >

Replies:
RE: epicsEvents Mark Rivers

Navigate by Date:
Prev: Re: asynError IOC message Vikram Bhagat
Next: RE: asynError IOC message Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Electronic & Control Systems Engineer Job Postings at W.M. Keck Observatory Jimmy Johnson
Next: RE: epicsEvents Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·