/// Broadcast the message to all reciever tasks
Broadcast the message to all reciever tasks
Broadcast the message to all reciever tasks
pub fn broadcast(&'static self, msg: T) {
        critical_section(|cs| {
            self.value.replace(msg);
            self.semaphore
                .signal_and_release_with_cs(cs, self.receivers);
            #[cfg(feature = "system_logger")]
            {
                if logging::get_message_broadcast() {
                    logging::report(LogEventType::MessageBroadcast(self.receivers));
                }
            }
        })
    }
pub fn broadcast ( & ' static self , msg : T ) { critical_section ( | cs | { self . value . replace ( msg ) ; self . semaphore . signal_and_release_with_cs ( cs , self . receivers ) ; # [ cfg ( feature " " ) ] { if logging :: get_message_broadcast ( ) { logging :: report ( LogEventType :: MessageBroadcast ( self . receivers ) ) ; } } } ) }
Broadcast the message to all reciever tasks
Broadcast the message to all reciever tasks
&'static self
msg
T