summaryrefslogtreecommitdiff
path: root/include/ruby/internal/intern/string.h
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2024-11-05 19:18:03 +0900
committerYusuke Endoh <mame@ruby-lang.org>2024-11-05 19:48:00 +0900
commit6c5a808b865906bc6baa2593e4f0b438af3f01cf (patch)
tree6140bc72e541d262fb5e9d7b133b2f7c3342b3af /include/ruby/internal/intern/string.h
parentcb1c79e87b0711230a333ee629aba24e06f530d0 (diff)
Use rb_fiber_scheduler_get() instead of rb_fiber_scheduler_current()
rb_fiber_scheduler_current() may return nil depending on whether the scheduler is being prevented for some reason, e.g., Fiber.blocking{}. Co-Authored-By: Samuel Williams <samuel.williams@oriontransfer.co.nz>
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/12001
Diffstat (limited to 'include/ruby/internal/intern/string.h')
0 files changed, 0 insertions, 0 deletions