changeset 520:b339b1817b84

Implement Send for DB
author Lewin Bormann <lbo@spheniscida.de>
date Sat, 22 Feb 2020 23:29:55 +0100
parents e5130bb1b79d
children c819897ec8fc
files src/db_impl.rs
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/db_impl.rs	Wed Feb 19 16:27:09 2020 +0100
+++ b/src/db_impl.rs	Sat Feb 22 23:29:55 2020 +0100
@@ -60,6 +60,8 @@
     cstats: [CompactionStats; NUM_LEVELS],
 }
 
+unsafe impl Send for DB {}
+
 impl DB {
     // RECOVERY AND INITIALIZATION //