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

NvList type is Send #74

Merged
merged 1 commit into from
Oct 16, 2021
Merged

NvList type is Send #74

merged 1 commit into from
Oct 16, 2021

Conversation

ahrens
Copy link
Contributor

@ahrens ahrens commented Sep 21, 2021

The NvList type can be safely sent to other threads. Mark it as such by
implementing Send.

This is needed to use NvList's with async rust. Let me know if I've misunderstood the semantics of Send. It seems perfectly safe to operate on a nvlist_t* from a different thread, as long as it's only manipulated by one thread at a time.

The NvList type can be safely sent to other threads.  Mark it as such by
implementing `Send`.
@ahrens
Copy link
Contributor Author

ahrens commented Oct 13, 2021

@jmesmon any thoughts on this PR?

Copy link
Owner

@codyps codyps left a comment

Choose a reason for hiding this comment

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

seems fine. thanks for pinging me about this.

bors r+

@bors
Copy link
Contributor

bors bot commented Oct 16, 2021

Build succeeded:

@bors bors bot merged commit 212b0e5 into codyps:master Oct 16, 2021
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.

None yet

2 participants