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 various types. #132

Merged
merged 1 commit into from
May 2, 2024
Merged

Implement Send and Sync for various types. #132

merged 1 commit into from
May 2, 2024

Conversation

qwandor
Copy link
Collaborator

@qwandor qwandor commented Apr 29, 2024

None of these types are bound to any particular thread, and there is no interior mutability; they use &mut self for any methods that change state.

Note that Send and Sync are automatically derived for some device types, e.g. VirtIOBlk and VirtIOGpu, so we don't need explicit implementations for them.

None of these types are bound to any particular thread, and there is no
interior mutability; they use &mut self for any methods that change
state.

Note that Send and Sync are automatically derived for some device types,
e.g. VirtIOBlk and VirtIOGpu, so we don't need explicit implementations
for them.
@chyyuu chyyuu merged commit 5a213ae into master May 2, 2024
6 checks passed
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.

2 participants