Skip to content

Commit

Permalink
Declare linuxaio and io_uring experimental
Browse files Browse the repository at this point in the history
  • Loading branch information
jcmfernandes authored and ioquatix committed Dec 31, 2020
1 parent de5e5f9 commit 17155b9
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions lib/nio/selector.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,16 @@ def initialize(backend = :ruby)

# Return a symbol representing the backend I/O multiplexing mechanism used.
# Supported backends are:
# * :ruby - pure Ruby (i.e IO.select)
# * :java - Java NIO on JRuby
# * :epoll - libev w\ Linux epoll
# * :poll - libev w\ POSIX poll
# * :kqueue - libev w\ BSD kqueue
# * :select - libev w\ SysV select
# * :port - libev w\ I/O completion ports
# * :unknown - libev w\ unknown backend
# * :ruby - pure Ruby (i.e IO.select)
# * :java - Java NIO on JRuby
# * :epoll - libev w\ Linux epoll
# * :poll - libev w\ POSIX poll
# * :kqueue - libev w\ BSD kqueue
# * :select - libev w\ SysV select
# * :port - libev w\ I/O completion ports
# * :linuxaio - libev w\ Linux AIO io_submit (experimental)
# * :io_uring - libev w\ Linux io_uring (experimental)
# * :unknown - libev w\ unknown backend
def backend
:ruby
end
Expand Down

0 comments on commit 17155b9

Please sign in to comment.