pub const RT_PRIORITY_ENV: &str = "EPICS_RS_ALLOW_RT_PRIORITY";Expand description
Environment switch that opts this process in to real-time (SCHED_FIFO) scheduling for the IOC threads that carry an EPICS priority.
The switch is read in both directions on every target; what differs is
what it defaults to when unset — see DEFAULT_POLICY.
Accepted “on” values, case-insensitive: YES, TRUE, ON, 1.
Any other explicit value is off.
§Relationship to the C switch
C base has the same concept under
EPICS_ALLOW_POSIX_THREAD_PRIORITY_SCHEDULING (envDefs.h:80, read at
osdThread.c:389), and envGetBoolConfigParam (envSubr.c:331) accepts
only case-insensitive yes. We deliberately do not reuse that name:
its base default is YES on every target (configure/CONFIG_ENV:57)
while ours is YES only on RTEMS, so one name would carry two different
defaults on a hosted build depending on which implementation read it.