summaryrefslogtreecommitdiff
path: root/goruby.c
diff options
context:
space:
mode:
authorkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-04-04 13:11:14 +0000
committerkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-04-04 13:11:14 +0000
commit78ea7afe97241b7a8a8176f680865430779e7d68 (patch)
treee7c9538d5731e24833627754c1a76310e54cbca0 /goruby.c
parent3ba502d5f01a39b4adfd456ffc29f0f13c106267 (diff)
* ext/io/nonblock/nonblock.c (io_nonblock_set): Avoid F_SETFL if
we're not changing the O_NONBLOCK bit. F_SETFL is an expensive operation since it needs to affect all processes with the same file object. The patch is written by Eric Wong. [ruby-core:35556] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'goruby.c')
0 files changed, 0 insertions, 0 deletions