diff options
| author | Sharon Rosner <sharon@noteflakes.com> | 2025-12-19 11:58:26 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-19 23:58:26 +1300 |
| commit | 9ee2243bede65fba8b7fbce54a232b8c063a5616 (patch) | |
| tree | 97eb627559e38a7a1e6643f2d0bb91d500b09788 /include/ruby/internal/encoding | |
| parent | dd2f7d6ae6ab53bea7a179338378e1d32c306747 (diff) | |
Fiber scheduler: invoke `#io_write` hook on IO flush (#15609)
Previously, calling IO#flush or closing an IO with unflushed buffered
writes would just invoke `#blocking_operation_wait` and flush the write
buffer using a `write` syscall. This change adds flushing through the
fiber scheduler by invoking the `#io_write` hook.
* Prefer IO::Buffer#write in IOScheduler
* Use Dir.tmpdir for test file
* Correctly handle errors in io_flush_buffer_fiber_scheduler
Diffstat (limited to 'include/ruby/internal/encoding')
0 files changed, 0 insertions, 0 deletions
