pub fn spawn_blocking_with_priority<F, R>(
priority: ThreadPriority,
f: F,
) -> TaskHandle<R>Expand description
Spawn a blocking closure on a dedicated thread and apply the given
EPICS ThreadPriority to that thread before running f.
The priority application is best effort (see
apply_to_current_thread); f runs regardless of whether the OS
honoured the request. This is the priority-aware counterpart of
spawn_blocking for IOC threads (CA server, scan) that a C IOC
would run in a distinct SCHED band.