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

Apple QoS support via donation #499

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

stefanhaustein
Copy link

Addressing issue #462

@stefanhaustein
Copy link
Author

@qwwdfsad qwwdfsad self-requested a review January 27, 2025 14:27
@qwwdfsad qwwdfsad changed the base branch from master to develop January 27, 2025 14:27
Copy link
Collaborator

@qwwdfsad qwwdfsad left a comment

Choose a reason for hiding this comment

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

Great job!

I have a few essential comments on Apple-related implementation, and it's good to go. To avoid extra-round trips please take a look at new warnings produced by ./gradlew build.

I would also kindly ask (but I'll accept the CR without it) to align non-apple SynchronizedObject with the current implementation as well -- you can copy-paste it but remove QoS mentions, or you can make this code part of nativeMain with expect DonatingMonitor, whatever is easier. Having two different implementations going to be real PITA here

@stefanhaustein
Copy link
Author

I have a few essential comments on Apple-related implementation, and it's good to go. To avoid extra-round trips please take a look at new warnings produced by ./gradlew build.

I checked the IDE for warnings and fixed the threadlocal package. Not sure about the redundant "public" modifiers? For some bits (forked from the compose implementation) I was not sure to which extent they were outdated or intended for some reason. Unfortunately, gradlew build is full of gazillions of expect / actual warnins. I did a quick search for the flag in combination with gradlew but did not see anything obvious....

I would also kindly ask (but I'll accept the CR without it) to align non-apple SynchronizedObject with the current implementation as well -- you can copy-paste it but remove QoS mentions, or you can make this code part of nativeMain with expect DonatingMonitor, whatever is easier. Having two different implementations going to be real PITA here

SGTM but let me do this in a followup.

@stefanhaustein
Copy link
Author

Does this make sense? Not sure why the requested change is still highlighted -- it should be addressed in the updated branch....

@qwwdfsad
Copy link
Collaborator

qwwdfsad commented Feb 6, 2025

I've run the remote build. In the meantime, PTAL at the malloc commentary

Copy link
Collaborator

@qwwdfsad qwwdfsad left a comment

Choose a reason for hiding this comment

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

.

@stefanhaustein
Copy link
Author

I've run the remote build. In the meantime, PTAL at the malloc commentary

Done.

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.

3 participants