8000 Fix blocking operation cancellation. by ioquatix · Pull Request #13614 · ruby/ruby · GitHub
[go: up one dir, main page]

Skip to content

Fix blocking operation cancellation. #13614

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

Merged
merged 1 commit into from
Jun 14, 2025

Conversation

ioquatix
Copy link
Member

unblock_function might have a value of -1, we need to handle it correctly, of which the implementation is internal to thread.c.

@ioquatix ioquatix force-pushed the unblock-function-handling branch from 466046d to 46dbc1b Compare June 14, 2025 01:47

This comment has been minimized.

@ioquatix ioquatix force-pushed the unblock-function-handling branch from 46dbc1b to 5a622a1 Compare June 14, 2025 02:33
@ioquatix ioquatix force-pushed the unblock-function-handling branch from 5a622a1 to 39af420 Compare June 14, 2025 02:33
@ioquatix ioquatix changed the title Expose rb_thread_resolve_unblock_function internally. Fix blocking operation cancellation. Jun 14, 2025
@ioquatix ioquatix merged commit 68625a2 into ruby:master Jun 14, 2025
84 checks passed
@ioquatix ioquatix deleted the unblock-function-handling branch June 14, 2025 03:32
sms021019 pushed a commit to sms021019/ruby that referenced this pull request Jun 17, 2025
Expose `rb_thread_resolve_unblock_function` internally.
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.

1 participant
0