[Bug 1163363] New: missing poll() functionality
http://bugzilla.suse.com/show_bug.cgi?id=1163363 Bug ID: 1163363 Summary: missing poll() functionality Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.1 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Ruby Assignee: ruby-devel@suse.de Reporter: msuchanek@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- When using a socket or a pipe for writing select() cannot determine that the socket is closed. It tells you that it is ready to write but if you don't have data to write you cannot tell that it is in fact closed. ruby internally uses poll() which can tell when a write socket is closed (without attempting a write()) but presents the broken select() interface. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1163363
Michal Suchanek
http://bugzilla.suse.com/show_bug.cgi?id=1163363
http://bugzilla.suse.com/show_bug.cgi?id=1163363#c2
--- Comment #2 from Michal Suchanek
http://bugzilla.suse.com/show_bug.cgi?id=1163363
http://bugzilla.suse.com/show_bug.cgi?id=1163363#c3
--- Comment #3 from Michal Suchanek
http://bugzilla.suse.com/show_bug.cgi?id=1163363
http://bugzilla.suse.com/show_bug.cgi?id=1163363#c4
--- Comment #4 from Marcus Rückert
How does that address the issue?
At least nio4r provides even more limited interface than select().
it gives you epoll via libev -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1163363
http://bugzilla.suse.com/show_bug.cgi?id=1163363#c5
--- Comment #5 from Michal Suchanek
participants (1)
-
bugzilla_noreply@novell.com