Correctness fixes for simple_pv
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.