Skip to content

Commit 6216f2d

Browse files
author
Yorick Peterse
committedDec 25, 2015
Added EINPROGRESS Wait classes
These will be used by rubysl-socket for connecting a socket in a non-blocking manner.
1 parent e577479 commit 6216f2d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
 

‎kernel/common/io.rb

+8
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,14 @@ class EWOULDBLOCKWaitWritable < Errno::EAGAIN
2222
include WaitWritable
2323
end
2424

25+
class EINPROGRESSWaitReadable < Errno::EINPROGRESS
26+
include WaitReadable
27+
end
28+
29+
class EINPROGRESSWaitWritable < Errno::EINPROGRESS
30+
include WaitWritable
31+
end
32+
2533
# Import platform constants
2634

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

0 commit comments

Comments
 (0)
Please sign in to comment.