Skip to content

Commit

Permalink
Make queue sendable
Browse files Browse the repository at this point in the history
  • Loading branch information
pronebird authored Dec 17, 2024
1 parent 03e3882 commit 0609459
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/dispatch2/src/queue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ pub struct Queue {
is_workloop: bool,
}

unsafe impl Send for Queue {}

impl Queue {
/// Create a new [Queue].
pub fn new(label: &str, queue_attribute: QueueAttribute) -> Self {
Expand Down

0 comments on commit 0609459

Please sign in to comment.