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  2020  2021  <20222023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024 
<== Date ==> <== Thread ==>

Subject: [Bug 541388] Re: ca reference manual issues
From: Andrew Johnson via Core-talk <core-talk at aps.anl.gov>
To: core-talk at aps.anl.gov
Date: Tue, 10 May 2022 22:06:50 -0000
Doug Murray reports these have all been corrected by now.

** Changed in: epics-base
       Status: Triaged => Fix Released

-- 
You received this bug notification because you are a member of EPICS
Core Developers, which is subscribed to EPICS Base.
Matching subscriptions: epics-core-list-subscription
https://bugs.launchpad.net/bugs/541388

Title:
  ca reference manual issues

Status in EPICS Base:
  Fix Released

Bug description:
  Here are some issues with the CA Reference Manual reported by Jie Chen
  at SLAC

  1) ca_add_event and ca_clear_event still appear many places in the supporting documentation despite their deprecated status
  2) we should probably deprecate the evid typedef and supplant it with a functionally equivalent sid typedef
  3) It needs to be clear that in the non-preemptive callback mode the user needs to periodically call ca_poll or ca_pend_event
  4) there should be an explanation that ca_xxx calls that pass a chid know how to find the ca context that the channel was created in, but ca_xxx calls that dont pass in a chid will attach to the current threads context, or lacking that create a new context. So creating a channel B in ctx A, spawning a thread, not attaching any ctx to this thread, calling get for channel B in this new thread followed by pend_io will not work. There should be some warning about this type of cinfusion in the manual.
  5) Jie mentioned that the ca create subscription mentions that ca_pend_io could be one of the options for flushing the subscription request. This certainly isn't the best choice, and its not clear that it does actually force out the flush.
  6)The document should clearly state that ca_pend_event routinely returns ECA_TIMEOUT.

  Original Mantis Bug: mantis-365
      http://www.aps.anl.gov/epics/mantis/view_bug_page.php?f_id=365

To manage notifications about this bug go to:
https://bugs.launchpad.net/epics-base/+bug/541388/+subscriptions


Navigate by Date:
Prev: [Bug 1943245] Re: epicsStrnEscapedFromRaw may print inclomplete escape sequences Andrew Johnson via Core-talk
Next: [Bug 1824732] Re: iocsh crashes when dealing with NULL iocshArgPersistentString Andrew Johnson via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024 
Navigate by Thread:
Prev: Build failed: epics-base base-ci-822 AppVeyor via Core-talk
Next: [Bug 1824732] Re: iocsh crashes when dealing with NULL iocshArgPersistentString Andrew Johnson via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024 
ANJ, 14 Sep 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·