Commit ecf70584 authored by Jay's avatar Jay Committed by GitHub

make WriteBatch send (#66)

parent 44336118
...@@ -56,6 +56,8 @@ pub struct WriteBatch { ...@@ -56,6 +56,8 @@ pub struct WriteBatch {
inner: *mut DBWriteBatch, inner: *mut DBWriteBatch,
} }
unsafe impl Send for WriteBatch {}
pub struct Snapshot<'a> { pub struct Snapshot<'a> {
db: &'a DB, db: &'a DB,
snap: UnsafeSnap, snap: UnsafeSnap,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment