Skip to content

Commit

Permalink
Make System Send and Sync
Browse files Browse the repository at this point in the history
  • Loading branch information
KYovchevski committed Jan 30, 2024
1 parent 568a7d1 commit 7c2b0f2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/system.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ use super::{
#[doc(alias = "IADLXSystem")]
pub struct System(*mut ffi::IADLXSystem);

unsafe impl Send for System {}
unsafe impl Sync for System {}

impl System {
/// Creates an [`Interface`] by taking ownership of the `raw` COM/ADLX interface pointer.
///
Expand Down

0 comments on commit 7c2b0f2

Please sign in to comment.