From: Nobuyoshi Nakada Date: 2015-05-12T13:58:36+09:00 Subject: [ruby-core:69142] Re: [Ruby trunk - Feature #11136] [PATCH] webrick: avoid fcntl module On 2015/05/12 12:57, Eric Wong wrote: > nobu@ruby-lang.org wrote: >> After requiring 'io/nonblock', no needs to see if `nonblock=` method is available. > > Doesn't that raise NotImplementedError on some platforms? > > I see this in ext/io/nonblock/nonblock.c: > > #define rb_io_nonblock_set rb_f_notimplement Indeed. I've forgotten it, sorry. > I'm not sure which platforms, though, maybe Windows? Non-blocking flag works on Windows.