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

Mark InnerPicture as Send+Sync #96

Merged
merged 3 commits into from
Mar 27, 2024
Merged

Conversation

sdroege
Copy link
Contributor

@sdroege sdroege commented Mar 26, 2024

Picture already was and it's just a ref-counting wrapper around it.

Fixes #95

`Picture` already was and it's just a ref-counting wrapper around it.

Fixes rust-av#95
@sdroege sdroege requested review from philn and lu-zero March 26, 2024 11:22
src/lib.rs Outdated
@@ -734,6 +732,9 @@ impl Picture {
unsafe impl Send for Picture {}
unsafe impl Sync for Picture {}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@lu-zero Do you want this to be removed and implicitly implemented? Same question for Plane.

Copy link
Member

Choose a reason for hiding this comment

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

Sounds a good idea. Thank you :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

So remove? Do you want to add something around static_assertions to ensure the traits are auto-implemented? :)

Copy link
Member

Choose a reason for hiding this comment

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

As you prefer, the least code to confuse users the better though ^^

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done!

@sdroege sdroege force-pushed the inner-picture-send branch from 611c527 to ad1e575 Compare March 26, 2024 13:11
@sdroege
Copy link
Contributor Author

sdroege commented Mar 26, 2024

@lu-zero Once merged, can you make a release?

@sdroege
Copy link
Contributor Author

sdroege commented Mar 26, 2024

@lu-zero Actually @philn had another thing he wanted to add that would be useful to include in a new release.

@philn
Copy link
Contributor

philn commented Mar 26, 2024

@lu-zero Actually @philn had another thing he wanted to add that would be useful to include in a new release.

Yeah Sebastian pointed out it might be useful to have API to access the chroma siting information. I can work on that this week hopefully. Sorry for having missed that.

@lu-zero lu-zero merged commit 06d002c into rust-av:master Mar 27, 2024
2 checks passed
@sdroege sdroege deleted the inner-picture-send branch March 27, 2024 09:09
@philn
Copy link
Contributor

philn commented Apr 8, 2024

Can we have a release please? 🙏🏻

@lu-zero
Copy link
Member

lu-zero commented Apr 8, 2024

Sure, remind me tomorrow morning please :)

@philn
Copy link
Contributor

philn commented Apr 9, 2024

Good morning Luca :) Can we have a release please? :)

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.

Clippy warns about Arc<InnerPicture>
3 participants