You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use IO::Buffer#copy (>=1MiB) to trigger blocking_operation_wait reliably
IO::Buffer#copy with a large buffer calls rb_nogvl(RB_NOGVL_OFFLOAD_SAFE)
in all Ruby versions that have blocking_operation_wait support, rather than
relying on a specific version of io_close_fptr. Verified that the hook is
called on 3.4 and master.
Co-authored-by: Cursor <cursoragent@cursor.com>
0 commit comments