epoll:Linux epoll API的低级Node.js绑定

时间:2021-02-05 16:35:13
【文件属性】:
文件名称:epoll:Linux epoll API的低级Node.js绑定
文件大小:23KB
文件格式:ZIP
更新时间:2021-02-05 16:35:13
nodejs javascript raspberry-pi iot beaglebone-black 投票 Linux epoll API的低级Node.js绑定,用于监视多个文件描述符,以查看其中是否有可能进行I / O。 最初编写该模块是为了检测EPOLLPRI事件,该事件指示可读取紧急数据。 EPOLLPRI事件由产生中断的引脚触发。 epoll模块由用于检测此类中断。 epoll支持Node.js版本8、10、12、13和14。 安装 请注意,尽管应该可以在非Linux系统上安装epoll,但是epoll提供的功能仅在Linux系统上可用。 npm install epoll API Epoll(回调)-构造函数。 发生epoll事件时,将调用该回调,并获取三个参数(err,f
【文件预览】:
epoll-master
----.travis.yml(217B)
----example()
--------watch-button()
--------interrupts-per-second()
----package.json(806B)
----test()
--------closed.js(371B)
--------coin-acceptor()
--------do-nothing.js(469B)
--------performance-check.js(1KB)
--------do-almost-nothing.js(531B)
--------util.js(168B)
--------one-shot.js(589B)
--------stress()
--------two-shot.js(712B)
--------run-tests(674B)
--------no-gc-allowed.js(975B)
--------verify-events.js(963B)
----LICENSE(1KB)
----src()
--------epoll.cc(10KB)
--------epoll.h(816B)
----.npmignore(47B)
----.gitignore(23B)
----History.md(5KB)
----epoll.js(291B)
----.npmrc(20B)
----README.md(7KB)
----.jshintrc(192B)
----binding.gyp(463B)

网友评论