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

Remove unneeded notifyParked when worker transitions to blocking #3937

Merged

Conversation

armanbilge
Copy link
Member

@armanbilge armanbilge commented Jan 8, 2024

This seems to be a remnant of an old mechanism that submitted to the external queue when a thread transitioned to blocking. In the current mechanism a new worker thread cleanly replaces the current thread, so there is no work newly created (and available for stealing) or any tasks submitted to the external queue, and the call to notifyParked is superfluous.

Draft while I run some benchmarks as an additional smoke test ... update: seems fine 👍

@armanbilge armanbilge marked this pull request as draft January 8, 2024 21:55
@armanbilge armanbilge marked this pull request as ready for review January 8, 2024 22:23
djspiewak
djspiewak previously approved these changes Jan 9, 2024
@armanbilge armanbilge merged commit 51987ec into typelevel:series/3.5.x Jan 9, 2024
27 of 32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants