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: Re: ca_get and ca_put triggered by monitors?
From: "J. Lewis Muir" <[email protected]>
To: Dirk Zimoch <[email protected]>
Cc: EPICS <[email protected]>
Date: Thu, 27 Jun 2013 08:51:53 -0500
On 6/27/13 8:16 AM, Dirk Zimoch wrote:
> What is the best practice to do monitor triggered channel access at the
> moment?
> 
> One way I can imagine is to setup a different thread blocking on an
> event semaphore and release that semaphore from within the monitor
> callback. But this involves thread save programming with all its
> complications.

Hi, Dirk.

Another way that might help in the area of thread-safe programming is to
use an epicsMessageQueue.  I'm only mentioning it because, by using the
API, it takes care of the thread-safe programming for you.

Lewis

References:
ca_get and ca_put triggered by monitors? Dirk Zimoch

Navigate by Date:
Prev: ca_get and ca_put triggered by monitors? Dirk Zimoch
Next: Re: caget can't connect to soft ioc on host with multiple NICs Brian McAllister
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: ca_get and ca_put triggered by monitors? Dirk Zimoch
Next: RE: ca_get and ca_put triggered by monitors? Hill, Jeff
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 ·