Skip to content

Correctness fixes for simple_pv

Jonathan Hanks requested to merge jonathan-hanks/advligorts:pcas_debug into master

Upgrading to EPICS 7 and the latest pcas code exposed an issue in that we depended on a specific ordering of static initialization. This MR moves some initialization out of static pre-main initialization and places it behind a once_flag at PV creation time. It also adds an additional correctness fix for the numeric type PVs initialization.

  • Rework some initialization code in the simpleStringPV delay initialization until after the main program has started. This avoids static initialization ordering errors.

  • Change a once_flag in the numeric pv startup to be a static value to be more correct.

Merge request reports