diff --git a/src/sharedptr.rs b/src/sharedptr.rs index 8750384..e363536 100644 --- a/src/sharedptr.rs +++ b/src/sharedptr.rs @@ -7,6 +7,7 @@ use crate::allocator::ALLOCATOR; pub struct SharedPtr(*mut u8); unsafe impl Send for SharedPtr {} +unsafe impl Sync for SharedPtr {} impl SharedPtr { pub fn new() -> Option {