[ruby-core:89713] Re: [Ruby trunk Bug#14968] [PATCH] io.c: make all pipes nonblocking by default

From: Eric Wong <normalperson@...>
Date: 2018-11-05 23:22:54 UTC
List: ruby-core #89713
> https://bugs.ruby-lang.org/issues/14968

Updated patch against r65553 with non-blocking socket support:

  https://80x24.org/spew/[email protected]/raw

Greg: It should be hiding errors for Win32 users, but I can't test.

Parallel MJIT, auto-fiber, UBF in thread_pthread will be much
easier if this change gets accepted.

Basically, auto-fiber/Thread::Light or any similar proposal
would be unusable for real-world apps without this change.
(users would be forced to add "sock.nonblock=true" to everything,
 to take advantage of Thread::Light, so it's gross)

Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next