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
Crystal::EventLoop::FileDescriptor#open now sets the non/blocking flag (#15754)
Moves the responsibility to set `FILE_FLAG_OVERLAPPED` or `O_NONBLOCK` to each event loop, so they can eventually own the blocking flag.
There is no change in behavior, yet: the event loops still set the flag depending on the `blocking` argument.
Refactors the `IO::FileDescriptor` and `File` internal constructors so we can instantiate the object without changing the blocking state (already set).
0 commit comments