X-Git-Url: https://code.octet-stream.net/netwatcher/blobdiff_plain/473c9605820f4531f9d40823338fa4bf8718dd6f..cc86d4310fa2b8af2675e82004facc1d90ef6922:/src/watch_mac.rs diff --git a/src/watch_mac.rs b/src/watch_mac.rs index 42e7217..c44169c 100644 --- a/src/watch_mac.rs +++ b/src/watch_mac.rs @@ -22,6 +22,8 @@ unsafe impl objc2::Encode for NwPath { const ENCODING: Encoding = usize::ENCODING; } +unsafe impl Send for WatchHandle {} + #[link(name = "Network", kind = "framework")] extern "C" { fn nw_path_monitor_create() -> NwPathMonitorT;