We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 329f894 commit beedf80Copy full SHA for beedf80
nv-flip/src/lib.rs
@@ -343,6 +343,10 @@ pub struct FlipHistogram<'a> {
343
inner: *mut nv_flip_sys::FlipImageHistogramRef,
344
_phantom: PhantomData<&'a ()>,
345
}
346
+
347
+unsafe impl Send for FlipHistogram<'_> {}
348
+unsafe impl Sync for FlipHistogram<'_> {}
349
350
impl<'a> FlipHistogram<'a> {
351
/// Returns the difference between the maximum and minimum bucket values.
352
pub fn bucket_size(&self) -> usize {
@@ -463,6 +467,9 @@ pub struct FlipPool {
463
467
values_added: usize,
464
468
465
469
470
+unsafe impl Send for FlipPool {}
471
+unsafe impl Sync for FlipPool {}
472
466
473
impl FlipPool {
474
/// Creates a new pool with 100 buckets.
475
pub fn new() -> Self {
0 commit comments