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
SELECT = method(:truffleposix_select) captures the FFI lazy stub method - it's never replaced when the method is actually attached - and the stub is run every time.
Discovered with @LillianZ. She's worked around by doing the below but does this break interruptibility?
Good catch!
For select() we can't use attach_function_eagerly's blocking=true because we need extra behavior to handle the timeout before retrying the call.
So I think we need to capture the method later, when the lazy stub has been resolved.
Bug introduced in d997f0b.
SELECT = method(:truffleposix_select)
captures the FFI lazy stub method - it's never replaced when the method is actually attached - and the stub is run every time.Discovered with @LillianZ. She's worked around by doing the below but does this break interruptibility?
https://github.com/oracle/truffleruby/compare/master...Shopify:IO?expand=1
The text was updated successfully, but these errors were encountered: