EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: dbNotify w/ processRequest
From: "Johnson, Andrew N. via Core-talk" <core-talk at aps.anl.gov>
To: Michael Davidsaver <mdavidsaver at gmail.com>
Cc: EPICS core-talk <core-talk at aps.anl.gov>
Date: Fri, 8 May 2020 15:10:35 +0000
Hi Michael,

On May 7, 2020, at 9:49 PM, Michael Davidsaver <mdavidsaver at gmail.com> wrote:

I've just noticed that processRequest option (aka. only process w/o get or put)
is not implemented by dbProcessNotify().  It's only referenced in the header.
I'm inclined to remove it.

I’ve always felt that enum should have been implemented as a bitmap, which would have reduced the number of equality comparisons in the code. No objections from me to your removing it, we can always bring it back if someone decides to implement that functionality.

I'm writing a test which needs to process an asynchronous record
and wait for completion.  This seemed like the natural way.
I can workaround by using processGetRequest with an empty getCallback.

For another solution to that see modules/database/test/std/rec where both asyncproctest.c and asyncSoftTest.c FLNK to a subroutine record that triggers an epicsEvent.

- Andrew

-- 
Complexity comes for free, simplicity you have to work for.


References:
dbNotify w/ processRequest Michael Davidsaver via Core-talk

Navigate by Date:
Prev: [Bug 1877113] Re: call ca_clear_event gives a seg fault Helge Brands via Core-talk
Next: [Bug 1877113] Re: call ca_clear_event gives a seg fault Ralph Lange via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: dbNotify w/ processRequest Michael Davidsaver via Core-talk
Next: Build failed: EPICS Base base-3.15-606 AppVeyor via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
ANJ, 11 May 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·