subscriptions specifying zero elements dont work with local channels
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
EPICS Base |
Fix Released
|
Wishlist
|
mdavidsaver |
Bug Description
From Sheng Peng:
Here are more details of the issue I ran into:
To simplify the test, I just use the slightly modified caMonitor.c from the template and rename to camon.c.
Here are the results I got:
-- ca_create_
event_handler_
-- ca_create_
-- ca_add_event: Ok for local and remote scalar but not array, as expected.
-- ca_add_array_event with count 0: does not work for local array PVs.
-- ca_add_array_event with explicit count: works for local and remote array PVs
So ca_add_
And ca_create_
Original Mantis Bug: mantis-370
http://
Related branches
- Andrew Johnson: Approve
- mdavidsaver: Approve
-
Diff: 411 lines (+83/-56) (has conflicts)5 files modifiedsrc/ioc/db/dbCa.c (+20/-13)
src/ioc/db/dbCaPvt.h (+5/-2)
src/ioc/db/dbContext.cpp (+10/-4)
src/ioc/db/dbContextReadNotifyCache.cpp (+12/-7)
src/ioc/db/test/dbCaLinkTest.c (+36/-30)
Changed in epics-base: | |
status: | In Progress → Fix Released |
The count==0 case (dynamic array size) for local CA is being worked on.