aboutsummaryrefslogtreecommitdiffstats
path: root/src/threads.rs
diff options
context:
space:
mode:
authorDirk Van Haerenborgh <vhdirk@gmail.com>2018-04-13 17:19:17 +0200
committerDirk Van Haerenborgh <vhdirk@gmail.com>2018-04-13 17:19:17 +0200
commit52050a5e1dcd613915135e217439bc6293bea257 (patch)
tree34b34e173098065f448a0879fbec12f9933c139c /src/threads.rs
parent61d4a904cc60a07be4ca506eaa7ae2088a57aecf (diff)
downloadmail-52050a5e1dcd613915135e217439bc6293bea257.tar.gz
I think these are actually Send'able, but certainly no Sync
Diffstat (limited to 'src/threads.rs')
-rw-r--r--src/threads.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/threads.rs b/src/threads.rs
index ebfa52c..2d6d7c4 100644
--- a/src/threads.rs
+++ b/src/threads.rs
@@ -54,3 +54,5 @@ impl<'q, 'd> iter::Iterator for Threads<'q, 'd> {
Some(Self::Item::new(cthread))
}
}
+
+unsafe impl<'q, 'd> Send for Threads<'q, 'd>{}