Macro perform_schedule_check

Source
macro_rules! perform_schedule_check {
    (
        $channels:expr,
        $result_var:expr,
        $send_lock:expr,
        $receive_lock:expr,
        $location:expr
    ) => { ... };
}
Expand description

A macro to perform a request-response check with the schedule_check module.

This macro encapsulates the logic for:

  1. Sending a ScheduleCheck command.
  2. Receiving a boolean response.
  3. Handling send/receive errors with a “log-once” pattern.
  4. Assigning the result, defaulting to false on any communication failure.