File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ categories = ["concurrency"]
13
13
readme = " README.md"
14
14
15
15
[dependencies ]
16
- cache-padded = " 1.0.0 "
16
+ cache-padded = " 1.1.1 "
17
17
18
18
[dev-dependencies ]
19
- easy-parallel = " 2 .1.0"
20
- fastrand = " 1.0.0 "
19
+ easy-parallel = " 3 .1.0"
20
+ fastrand = " 1.3.3 "
Original file line number Diff line number Diff line change 32
32
33
33
use std:: error;
34
34
use std:: fmt;
35
+ use std:: panic:: { RefUnwindSafe , UnwindSafe } ;
35
36
use std:: sync:: atomic:: { self , AtomicUsize , Ordering } ;
36
37
37
38
use crate :: bounded:: Bounded ;
@@ -62,6 +63,9 @@ pub struct ConcurrentQueue<T>(Inner<T>);
62
63
unsafe impl < T : Send > Send for ConcurrentQueue < T > { }
63
64
unsafe impl < T : Send > Sync for ConcurrentQueue < T > { }
64
65
66
+ impl < T > UnwindSafe for ConcurrentQueue < T > { }
67
+ impl < T > RefUnwindSafe for ConcurrentQueue < T > { }
68
+
65
69
enum Inner < T > {
66
70
Bounded ( Bounded < T > ) ,
67
71
Unbounded ( Unbounded < T > ) ,
You can’t perform that action at this time.
0 commit comments