Skip to content

Commit

Permalink
make ColumnFamily Sync
Browse files Browse the repository at this point in the history
  • Loading branch information
zaidoon1 committed Mar 12, 2024
1 parent 8b9e0b7 commit c4124d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/column_family.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ impl<'a> AsColumnFamilyRef for Arc<BoundColumnFamily<'a>> {
}

unsafe impl Send for ColumnFamily {}
unsafe impl Sync for ColumnFamily {}
unsafe impl Send for UnboundColumnFamily {}
unsafe impl Sync for UnboundColumnFamily {}
unsafe impl<'a> Send for BoundColumnFamily<'a> {}
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@ mod test {
is_sync::<PlainTableFactoryOptions>();
is_sync::<UnboundColumnFamily>();
is_sync::<ColumnFamilyDescriptor>();
is_sync::<ColumnFamily>();
is_sync::<SstFileWriter>();
is_sync::<Cache>();
is_sync::<CacheWrapper>();
Expand Down

0 comments on commit c4124d7

Please sign in to comment.