Home
last modified time | relevance | path

Searched refs:MainThreadTxMessage (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Bluetooth/system/rust/src/
Dlib.rs118 MainThreadTxMessage::Callback(f) => f(&mut modules), in start()
119 MainThreadTxMessage::Stop => { in start()
132 enum MainThreadTxMessage { enum
136 type MainThreadTx = mpsc::UnboundedSender<MainThreadTxMessage>;
162 let ret = MAIN_THREAD_TX.with(|tx| tx.send(MainThreadTxMessage::Callback(Box::new(f)))); in do_in_rust_thread()
/packages/modules/Bluetooth/system/rust/src/core/
Dmod.rs16 GlobalModuleRegistry, MainThreadTxMessage, GLOBAL_MODULE_REGISTRY,
43 .map(|registry| registry.task_tx.send(MainThreadTxMessage::Stop)); in stop()