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

Add Sync+Send to Allocation and AllocationInfo. #2

Merged
merged 1 commit into from
Mar 5, 2019

Conversation

repi
Copy link
Contributor

@repi repi commented Mar 5, 2019

They do not have any mutable functions so should be safe.

Ran into a particular use case when being able to pass these objects between threads was useful.

They do not have any mutable functions so should be safe.
@gwihlidal
Copy link
Owner

Thanks! :)

@gwihlidal gwihlidal merged commit e2df59a into gwihlidal:master Mar 5, 2019
@repi repi deleted the allocation-sync branch April 2, 2019 15:02
Neo-Zhixing pushed a commit that referenced this pull request Jan 31, 2024
#2)

* made `destroy_image` take a reference to `Allocation` because `Allocation` doesnt impliment copy leading to problems where you cant move out a struct member in `drop`

* made free/destroy functions take mut reference to allocation
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