Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement Send and Sync for Ftdi #57

Merged
merged 2 commits into from
Aug 28, 2022
Merged

implement Send and Sync for Ftdi #57

merged 2 commits into from
Aug 28, 2022

Conversation

Icxolu
Copy link
Contributor

@Icxolu Icxolu commented Aug 23, 2022

Closes #56

The auto traits `Send` and `Sync` were not implemented because `Ftdi`
contains a (type aliased) raw pointer (`FT_HANDLE`). `Send` and `Sync`
are now implemented explicitly, making it possible to use `Ftdi` in
different threads.
Copy link
Member

@newAM newAM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I'll merge this and get a release out this weekend (or maybe sooner).

@newAM newAM merged commit 33e8bc2 into ftdi-rs:main Aug 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Send and Sync not implemented for Ftdi
2 participants