normalperson / yhbt.net wrote:
> Feature #13362: [PATCH] socket: avoid fcntl for read/write_nonblock on Linux
> https://bugs.ruby-lang.org/issues/13362

Any comment?

Also, this patch avoids the race condition where another thread
or process can clear the nonblocking flag via fcntl immediately
after {read,write}_nonblock sets it and causes the
{read,write}_nonblock caller to get stuck.

Thanks.

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