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

Fix incorrect usage of rb_fiber_scheduler_io_(p)(read|write). #7593

Merged
merged 1 commit into from Mar 25, 2023

Conversation

ioquatix
Copy link
Member

@ioquatix ioquatix commented Mar 25, 2023

As discussed in socketry/async#224.

Introduced accidentally by ced1d17.

See also: https://bugs.ruby-lang.org/issues/19546.

@ioquatix ioquatix force-pushed the io-buffer-fiber-scheduler-fixes branch 2 times, most recently from f44064a to 3865c14 Compare March 25, 2023 01:49
@ioquatix ioquatix force-pushed the io-buffer-fiber-scheduler-fixes branch from 3865c14 to 77bbbf7 Compare March 25, 2023 04:30
@ioquatix ioquatix merged commit 466aa80 into ruby:master Mar 25, 2023
97 checks passed
@ioquatix ioquatix deleted the io-buffer-fiber-scheduler-fixes branch March 25, 2023 05:36
matzbot pushed a commit that referenced this pull request Jul 16, 2023
	Fix incorrect usage of `rb_fiber_scheduler_io_(p)(read|write)`.
	 (#7593)

	---
	 io_buffer.c                  |  8 ++++----
	 scheduler.c                  | 48 ++++++++++++++++++++++----------------------
	 test/fiber/test_io_buffer.rb | 33 ++++++++++++++++++++++++++++++
	 3 files changed, 61 insertions(+), 28 deletions(-)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant