pub(super) fn read_siblings(
dir: &Path,
own_channel: &str,
own_pid: u32,
now_ms: u64,
pid_alive: impl Fn(u32) -> bool,
) -> Vec<InstanceRecord>Expand description
The other LAN-enabled instances on this host: records in dir that are
fresh (rewritten within STALE_AFTER_MS), whose process is alive, and
that are not this instance (neither own_channel nor own_pid). Sorted by
channel, one per channel, at most MAX_SIBLINGS.