Merge pull request #123 from 5ohue/master

Add `impl Send` for wand types
This commit is contained in:
Nathan Fiedler
2024-05-25 10:44:46 -07:00
committed by GitHub

View File

@ -97,6 +97,13 @@ macro_rules! wand_common {
} }
} }
} }
// The wand types should be safe to drop in a different thread
unsafe impl Send for $wand {}
// Probably shouldn't implement Sync because some methods might not be
// safe to call on the same wand from different threads.
// unsafe impl Sync for $wand {}
}; };
} }