aboutsummaryrefslogtreecommitdiffstats
path: root/src/osx/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/osx/mod.rs')
-rw-r--r--src/osx/mod.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/osx/mod.rs b/src/osx/mod.rs
index 7df6603..92ef641 100644
--- a/src/osx/mod.rs
+++ b/src/osx/mod.rs
@@ -73,6 +73,11 @@ impl Window {
}
#[cfg(feature = "window")]
+unsafe impl Send for Window {}
+#[cfg(feature = "window")]
+unsafe impl Sync for Window {}
+
+#[cfg(feature = "window")]
#[deriving(Clone)]
pub struct WindowProxy;