Skip to content
Permalink
Browse files
Added EINPROGRESS Wait classes
These will be used by rubysl-socket for connecting a socket in a
non-blocking manner.
  • Loading branch information
YorickPeterse committed Dec 25, 2015
1 parent e577479 commit 6216f2d8199e40311f489f92277ece3f8732418c
Showing with 8 additions and 0 deletions.
  1. +8 −0 kernel/common/io.rb
@@ -22,6 +22,14 @@ class EWOULDBLOCKWaitWritable < Errno::EAGAIN
include WaitWritable
end

class EINPROGRESSWaitReadable < Errno::EINPROGRESS
include WaitReadable
end

class EINPROGRESSWaitWritable < Errno::EINPROGRESS
include WaitWritable
end

# Import platform constants

SEEK_SET = Rubinius::Config['rbx.platform.io.SEEK_SET']

0 comments on commit 6216f2d

Please sign in to comment.