()
| 1700 | > = std::sync::OnceLock::new(); |
| 1701 | |
| 1702 | fn wait_callback_registry() -> &'static std::sync::Mutex< |
| 1703 | std::collections::HashMap<isize, alloc::sync::Arc<PostCallbackData>>, |
| 1704 | > { |
| 1705 | WAIT_CALLBACK_REGISTRY |
| 1706 | .get_or_init(|| std::sync::Mutex::new(std::collections::HashMap::new())) |
| 1707 | } |
| 1708 | |
| 1709 | // Callback data for RegisterWaitWithQueue |
| 1710 | // Uses Arc to ensure the data stays alive while callback is executing |
no test coverage detected