Searched refs:sender (Results 1 – 8 of 8) sorted by relevance
/DragonOS/tools/debugging/logmonitor/src/ |
H A D | event.rs | 27 sender: mpsc::Sender<Event>, field 38 let (sender, receiver) = mpsc::channel(); in new() 40 let sender = sender.clone(); in new() localVariable 50 CrosstermEvent::Key(e) => sender.send(Event::Key(e)), in new() 51 CrosstermEvent::Mouse(e) => sender.send(Event::Mouse(e)), in new() 52 CrosstermEvent::Resize(w, h) => sender.send(Event::Resize(w, h)), in new() 59 sender.send(Event::Tick).expect("failed to send tick event"); in new() 66 sender, in new() 80 pub fn sender(&self) -> mpsc::Sender<Event> { in sender() method 81 self.sender.clone() in sender()
|
H A D | logging.rs | 38 sender: mpsc::Sender<String>, field 42 pub fn new(sender: mpsc::Sender<String>) -> Self { in new() 43 Self { sender } in new() 49 self.sender.send(message).ok(); in log()
|
H A D | main.rs | 43 let _app_backend = logmonitor::backend::AppBackend::new(cmdargs.clone(), events.sender()); in start_headless_app() 77 let _app_backend = logmonitor::backend::AppBackend::new(cmdargs.clone(), tui.events.sender()); in start_tui_app()
|
/DragonOS/user/apps/test_shm/ |
H A D | Makefile | 11 all: sender.c receiver.c test_info.c 12 $(CC) -static -o $(NAME_PREFIX)sender sender.c 18 mv $(NAME_PREFIX)sender $(DADK_CURRENT_BUILD_DIR)/ 23 rm $(NAME_PREFIX)receiver $(NAME_PREFIX)sender $(NAME_PREFIX)info *.o
|
H A D | .gitignore | 2 sender
|
/DragonOS/tools/debugging/logmonitor/src/backend/ |
H A D | mod.rs | 27 pub fn new(command_line_args: CommandLineArgs, sender: mpsc::Sender<Event>) -> Arc<Self> { in new() 30 _sender_to_frontend: sender.clone(), in new() 41 let sd = sender.clone(); in new() 82 sender: mpsc::Sender<Event>, in new() 88 _sender_to_frontend: sender, in new()
|
/DragonOS/kernel/src/driver/tty/ |
H A D | tty_port.rs | 21 sender: mpsc::Sender<u8>, field 36 let (sender, receiver) = mpsc::channel::<u8>(TTY_PORT_BUFSIZE); in new() 40 sender, in new()
|
/DragonOS/tools/debugging/logmonitor/src/backend/monitor/ |
H A D | mm.rs | 191 let sender = self.mm_log_monitor.upgrade().unwrap().mm_log_sender.clone(); in process_logs() localVariable 224 sender.send(MMLogWorkerResult::new(logs)).unwrap(); in process_logs()
|