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: | PVXS monitor - No dependence on MPMCFIFO workqueue |
From: | Eusebio Naif Al-Soliman Fuentes via Tech-talk <tech-talk at aps.anl.gov> |
To: | Tech Talk <tech-talk at aps.anl.gov> |
Date: | Mon, 15 Apr 2024 10:49:50 +0200 |
Hello everybody.
I have a question about the "monitor" function with PVXS.
Right now, the declaration of a MPMCFIFO workqueue is necessary to implement the "monitor" function. Then, there is a subscription to the PV we desire to monitor and, when an event is produced, it pushes the request to the workqueue.
However, what I'd like instead is to execute some code directly, something like this:
for(auto n : range(optind, argc)) { ops.push_back(ctxt.monitor(argv[n]) // Execute code here... The reason to do this is because my code requires time to be executed and the MPMCFIFO workqueue fills up quickly.
Thanks in advance, Eusebio.
--
Saludos/Best regards University of Granada Eusebio Naif Al-Soliman Fuentes eunaif at correo.ugr.es |