c50298d7d4 (master): Introduce `rb_io_blocking_region` which takes `struct rb_io` argument. (#11795)

1 view
Skip to first unread message

Samuel Williams

unread,
Oct 4, 2024, 10:10:26 PMOct 4
to ruby...@ruby-lang.org
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
Reply all
Reply to author
Forward
0 new messages