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: | Changing record fields while PACT=1 |
From: | Klemen Vodopivec via Tech-talk <[email protected]> |
To: | [email protected] |
Date: | Mon, 4 Feb 2019 10:03:22 -0500 |
Hi,for a new device support implementing IPMI bridge I'm exploring some design options. The easiest would be to kick-off asynchronous fetch when record starts processing and set PACT=1. When done, set PACT=0. In the mean time the asynchronous function would populate fields in the record. Because IPMI sensors have lots of metadata attached, fields like rec->hihi, rec->prec etc. would get populated as part of async operation.
Question is, is PACT=1 enough to ensure exclusive access to record fields? I know record won't process again but is there any EPICS db internals that will poke record while it's being processed?
Thanks, Klemen