From: Eric Wong Date: 2013-10-21T21:55:06+00:00 Subject: [ruby-core:57958] Re: [ruby-trunk - Bug #9040] Readline duplicate file descriptors but doesn't close them "akr (Akira Tanaka)" wrote: > > Issue #9040 has been updated by akr (Akira Tanaka). > > File readline-release-gvl-3.patch added Does poll work reliably with tty FD on non-Linux systems? Perhaps better to use rb_thread_call_with_gvl and a rb_wait_for_single_fd wrapper