套件:ruby-nio4r(2.7.3-1)
Ruby library providing a selector API for monitoring IO objects
nio4r (New IO for Ruby) provides an abstract, cross-platform stateful I/O selector API for Ruby. I/O selectors are the heart of "reactor"-based event loops, and monitor multiple I/O objects for various types of readiness, e.g. ready for reading or writing.
The most similar API provided by Ruby today is Kernel.select, however the select API requires you to pass in arrays of all of the I/O objects you're interested in every time. nio4r provides a more object-oriented API that lets you register I/O objects with a selector then handle them when they're selected for various types of events.
nio4r is modeled after the Java NIO API, but simplified for ease-of-use.
Its goals are:
* Expose high-level interfaces for stateful IO selectors. * Keep the API small to maximize both portability and performance across many different OSes and Ruby VMs. * Provide inherently thread-safe facilities for working with IO objects.
其他與 ruby-nio4r 有關的套件
|
|
|
|
-
- dep: libatomic1 (>= 4.8) [riscv64]
- support library providing __atomic built-in functions
-
- dep: libc6 (>= 2.38)
- GNU C 函式庫:共用函式庫
同時作為一個虛擬套件由這些套件填實: libc6-udeb
-
- dep: libruby (<< 1:3.2~)
- Libraries necessary to run Ruby
- dep: libruby (>= 1:3.1~0)
-
- dep: libruby3.1t64 (>= 3.1.2)
- Libraries necessary to run Ruby 3.1
下載 ruby-nio4r
硬體架構 | 套件大小 | 安裝後大小 | 檔案 |
---|---|---|---|
amd64 | 111。4 kB | 460。0 kB | [檔案列表] |
arm64 | 109。2 kB | 508。0 kB | [檔案列表] |
armel | 106。9 kB | 452。0 kB | [檔案列表] |
armhf | 105。5 kB | 428。0 kB | [檔案列表] |
i386 | 113。1 kB | 464。0 kB | [檔案列表] |
mips64el | 108。9 kB | 517。0 kB | [檔案列表] |
ppc64el | 114。1 kB | 509。0 kB | [檔案列表] |
riscv64 | 110。8 kB | 444。0 kB | [檔案列表] |
s390x | 110。3 kB | 464。0 kB | [檔案列表] |