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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | dynamic monitoring |
From: | Patrick Thomas <[email protected]> |
To: | [email protected] |
Date: | Fri, 21 Jan 2011 17:00:51 -0800 |
Hi,I was wondering what the best way is to dynamically monitor channels in C. That is to start and stop monitoring channels at run time. I currently have a program that connects to and attaches monitors to a predefined list of channels and then goes into a ca_pend_event(0), which blocks forever. Should I change this to a loop and specify a certain time period, i.e. ca_pend_event(1) and add or remove channels in that loop?
Thank you for your time, Patrick