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
<2013>
2014
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
<2013>
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|