diff options
| author | Dirk Van Haerenborgh <vhdirk@gmail.com> | 2018-04-13 17:19:17 +0200 |
|---|---|---|
| committer | Dirk Van Haerenborgh <vhdirk@gmail.com> | 2018-04-13 17:19:17 +0200 |
| commit | 52050a5e1dcd613915135e217439bc6293bea257 (patch) | |
| tree | 34b34e173098065f448a0879fbec12f9933c139c /src/threads.rs | |
| parent | 61d4a904cc60a07be4ca506eaa7ae2088a57aecf (diff) | |
| download | mail-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.rs | 2 |
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>{} |
