Samuel Williams 2024-10-05 02:10:12 +0000 (Sat, 05 Oct 2024)
New Revision: c50298d7d4
https://github.com/ruby/ruby/commit/c50298d7d4
Log:
Introduce `rb_io_blocking_region` which takes `struct rb_io` argument. (#11795)
This does not change any actual behaviour, but provides a choke point for blocking IO operations.
* Update `IO::Buffer` to use `rb_io_blocking_region`.
* Update `File` to use `rb_io_blocking_region`.
* Update `IO` to use `rb_io_blocking_region`.
Modified files:
common.mk
file.c
internal/io.h
io.c
io_buffer.c