diff options
Diffstat (limited to 'oryxc/src/arena.rs')
| -rw-r--r-- | oryxc/src/arena.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/oryxc/src/arena.rs b/oryxc/src/arena.rs index 32d02ba..3dbd1f8 100644 --- a/oryxc/src/arena.rs +++ b/oryxc/src/arena.rs @@ -18,6 +18,9 @@ struct RawBlock { layout: Layout, } +unsafe impl Send for RawBlock {} +unsafe impl Sync for RawBlock {} + pub struct GlobalArena { blksz: usize, blocks: Mutex<Vec<RawBlock>>, |