diff --git a/src/message_queue.rs b/src/message_queue.rs index b51f6a38..f4c26f80 100644 --- a/src/message_queue.rs +++ b/src/message_queue.rs @@ -106,6 +106,8 @@ impl DataProvider for MessageQueue { } } +unsafe impl Sync for MessageQueue {} + #[cfg(test)] mod tests { use super::*; @@ -125,5 +127,3 @@ mod tests { assert_eq!(queue100u64_size, stub_size); } } - -unsafe impl Sync for MessageQueue {}