Skip to content

Commit

Permalink
impl Send/Sync for ManagedAvahiSimplePoll
Browse files Browse the repository at this point in the history
Signed-off-by: Walker Crouse <walkercrouse@hotmail.com>
  • Loading branch information
windy1 committed Aug 10, 2024
1 parent 105dc0b commit bfcf9da
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions zeroconf/src/avahi/poll.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,6 @@ impl Drop for ManagedAvahiSimplePoll {
unsafe { avahi_simple_poll_free(self.0) };
}
}

unsafe impl Send for ManagedAvahiSimplePoll {}
unsafe impl Sync for ManagedAvahiSimplePoll {}

0 comments on commit bfcf9da

Please sign in to comment.