liftof_cc::threads::command_dispatcher

Function command_dispatcher

Source
pub fn command_dispatcher(
    thread_ctrl: Arc<Mutex<ThreadControl>>,
    tp_to_sink: &Sender<TofPacket>,
)
Expand description

Deal with incoming requests. Most will be statisfied by the external liftof-scheduler. It will communicate with the liftof-scheduler over a dedicated, non-configurable port

ยงArguments:

  • thread_control : inter-thread communications, start/stop signals. Keeps global settings.
  • tp_to_sink : send packets to global data sink