Skip to content

Commit

Permalink
Added EINPROGRESS Wait classes
Browse files Browse the repository at this point in the history
These will be used by rubysl-socket for connecting a socket in a
non-blocking manner.
  • Loading branch information
Yorick Peterse committed Dec 25, 2015
1 parent e577479 commit 6216f2d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions kernel/common/io.rb
Expand Up @@ -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']
Expand Down

0 comments on commit 6216f2d

Please sign in to comment.