Merge lp:~epics-core/epics-base/dbscan-update into lp:~epics-core/epics-base/3.16
Proposed by
mdavidsaver
Status: | Merged |
---|---|
Merged at revision: | 12628 |
Proposed branch: | lp:~epics-core/epics-base/dbscan-update |
Merge into: | lp:~epics-core/epics-base/3.16 |
Diff against target: |
488 lines (+231/-73) 7 files modified
src/ioc/db/dbCa.c (+28/-3) src/ioc/db/dbCaPvt.h (+51/-50) src/ioc/db/dbScan.c (+65/-17) src/ioc/db/dbScan.h (+6/-3) src/ioc/db/test/Makefile (+6/-0) src/ioc/db/test/dbScanTest.c (+73/-0) src/ioc/db/test/epicsRunDbTests.c (+2/-0) |
To merge this branch: | bzr merge lp:~epics-core/epics-base/dbscan-update |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
mdavidsaver | Needs Resubmitting | ||
Andrew Johnson | Needs Fixing | ||
Ralph Lange | Needs Fixing | ||
Review via email: mp+245680@code.launchpad.net |
Description of the change
Some misc. changes to dbScan API looking forward to parallel scanning. Adds two new API functions scanOnce3() and scanIoImmediate().
scanOnce3() allows a once scan w/ completion callback. dbCa is changed to use this, which fixes lp:1362362.
scanIoImmediate() allows external drivers to use the I/O Intr infrastructure while doing scanning on internal threads instead of the shared callback threads.
Also a minor changed to eventNameToHandle to avoid a cantProceed().
To post a comment you must log in.
I've included a test case for scanOnce3(). I have one for scanIoImmediate(), but this is dependent on a re-write of scanIoTest.c. I'm unsure about including that in this branch as it is much larger than the other changes.