├── .github └── workflows │ ├── build.yml │ └── test.yml ├── .gitignore ├── .vscode ├── c_cpp_properties.json └── settings.json ├── CODE_OF_CONDUCT.md ├── Gemfile ├── LICENSE ├── README.md ├── Rakefile ├── evt.gemspec ├── examples ├── http_server.rb └── pipe.rb ├── ext └── evt │ ├── epoll.h │ ├── evt.c │ ├── evt.h │ ├── extconf.rb │ ├── iocp.h │ ├── kqueue.h │ ├── select.h │ └── uring.h ├── lib ├── evt.rb └── evt │ ├── backends │ ├── bundled.rb │ ├── epoll.rb │ ├── iocp.rb │ ├── kqueue.rb │ ├── select.rb │ └── uring.rb │ ├── scheduler.rb │ └── version.rb └── test ├── basic_test.rb ├── enumerator_test.rb ├── http_test.rb ├── io_test.rb ├── mutex_test.rb ├── process_test.rb ├── ractor_test.rb ├── sleep_test.rb ├── tcp_test.rb ├── test_helper.rb ├── udp_test.rb └── unix_test.rb /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsh0416/evt/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsh0416/evt/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsh0416/evt/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/c_cpp_properties.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsh0416/evt/HEAD/.vscode/c_cpp_properties.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsh0416/evt/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsh0416/evt/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsh0416/evt/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsh0416/evt/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsh0416/evt/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsh0416/evt/HEAD/Rakefile -------------------------------------------------------------------------------- /evt.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsh0416/evt/HEAD/evt.gemspec -------------------------------------------------------------------------------- /examples/http_server.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsh0416/evt/HEAD/examples/http_server.rb -------------------------------------------------------------------------------- /examples/pipe.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsh0416/evt/HEAD/examples/pipe.rb -------------------------------------------------------------------------------- /ext/evt/epoll.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsh0416/evt/HEAD/ext/evt/epoll.h -------------------------------------------------------------------------------- /ext/evt/evt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsh0416/evt/HEAD/ext/evt/evt.c -------------------------------------------------------------------------------- /ext/evt/evt.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsh0416/evt/HEAD/ext/evt/evt.h -------------------------------------------------------------------------------- /ext/evt/extconf.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsh0416/evt/HEAD/ext/evt/extconf.rb -------------------------------------------------------------------------------- /ext/evt/iocp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsh0416/evt/HEAD/ext/evt/iocp.h -------------------------------------------------------------------------------- /ext/evt/kqueue.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsh0416/evt/HEAD/ext/evt/kqueue.h -------------------------------------------------------------------------------- /ext/evt/select.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsh0416/evt/HEAD/ext/evt/select.h -------------------------------------------------------------------------------- /ext/evt/uring.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsh0416/evt/HEAD/ext/evt/uring.h -------------------------------------------------------------------------------- /lib/evt.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsh0416/evt/HEAD/lib/evt.rb -------------------------------------------------------------------------------- /lib/evt/backends/bundled.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsh0416/evt/HEAD/lib/evt/backends/bundled.rb -------------------------------------------------------------------------------- /lib/evt/backends/epoll.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsh0416/evt/HEAD/lib/evt/backends/epoll.rb -------------------------------------------------------------------------------- /lib/evt/backends/iocp.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsh0416/evt/HEAD/lib/evt/backends/iocp.rb -------------------------------------------------------------------------------- /lib/evt/backends/kqueue.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsh0416/evt/HEAD/lib/evt/backends/kqueue.rb -------------------------------------------------------------------------------- /lib/evt/backends/select.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsh0416/evt/HEAD/lib/evt/backends/select.rb -------------------------------------------------------------------------------- /lib/evt/backends/uring.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsh0416/evt/HEAD/lib/evt/backends/uring.rb -------------------------------------------------------------------------------- /lib/evt/scheduler.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsh0416/evt/HEAD/lib/evt/scheduler.rb -------------------------------------------------------------------------------- /lib/evt/version.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module Evt 4 | VERSION = "0.4.0" 5 | end 6 | -------------------------------------------------------------------------------- /test/basic_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsh0416/evt/HEAD/test/basic_test.rb -------------------------------------------------------------------------------- /test/enumerator_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsh0416/evt/HEAD/test/enumerator_test.rb -------------------------------------------------------------------------------- /test/http_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsh0416/evt/HEAD/test/http_test.rb -------------------------------------------------------------------------------- /test/io_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsh0416/evt/HEAD/test/io_test.rb -------------------------------------------------------------------------------- /test/mutex_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsh0416/evt/HEAD/test/mutex_test.rb -------------------------------------------------------------------------------- /test/process_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsh0416/evt/HEAD/test/process_test.rb -------------------------------------------------------------------------------- /test/ractor_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsh0416/evt/HEAD/test/ractor_test.rb -------------------------------------------------------------------------------- /test/sleep_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsh0416/evt/HEAD/test/sleep_test.rb -------------------------------------------------------------------------------- /test/tcp_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsh0416/evt/HEAD/test/tcp_test.rb -------------------------------------------------------------------------------- /test/test_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsh0416/evt/HEAD/test/test_helper.rb -------------------------------------------------------------------------------- /test/udp_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsh0416/evt/HEAD/test/udp_test.rb -------------------------------------------------------------------------------- /test/unix_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsh0416/evt/HEAD/test/unix_test.rb --------------------------------------------------------------------------------