Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can interruptAccept checks be removed? #197

Open
mdavidsaver opened this issue Nov 2, 2023 · 0 comments
Open

Can interruptAccept checks be removed? #197

mdavidsaver opened this issue Nov 2, 2023 · 0 comments
Labels

Comments

@mdavidsaver
Copy link
Contributor

I came across this comment while trying to understand why a plugin unittest I am trying to write hangs on exit in callbackThread::~callbackThread().

/* I thought this would be a temporary fix until EPICS supported PINI after interruptAccept, which would then be used
* for input records that need callbacks after output records that also have PINI and that could affect them. But this
* does not work with asyn device support because of the ring buffer. Records with SCAN=I/O Intr must not processed
* for any other reason, including PINI, or the ring buffer can get out of sync. */

In all likelihood, the hang I am seeing is due to me having missed some preparation. Still, I thought it worth asking. Is the special handling of interruptAccept is still needed? Can some nicer solution can be found? (maybe involving registrars and initHooks)

fyi.

The field(PINI, "RUNNING") was added by epics-base/epics-base@68dbf8a in epics-base 3.14.11 back in 2009.

The initHook API moved into libCom in 7.0.2 (epics-base/epics-base@dc310a4).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant