Libuv 1.25.0 发布,Node 的跨平台异步 IO 库

栏目: 服务器 · 发布时间: 7年前

内容简介:Libuv 是一个专注于异步  I/O 的多平台支持库,主要用于 Node.js。特性包括:1.25.0 版本更新内容如下:

Libuv 是一个专注于异步  I/O 的多平台支持库,主要用于 Node.js。

特性包括:

  • 非阻塞 TCP 套接字

  • 非阻塞命名管道

  • UDP

  • 定时器

  • 子进程生成

  • 通过 uv_getaddrinfo 实现异步 DNS

  • 异步文件系统 API:uv_fs_*

  • 高分辨率时间:uv_hrtime

  • 正在运行程序路径查找:uv_exepath

  • 线程池调度:uv_queue_work

  • TTY控制的ANSI转义代码: uv_tty_t

  • 文件系统事件现在支持 inotify, ReadDirectoryChangesW 和 kqueue。很快会支持事件端口:uv_fs_event_t

  • 进程间的 IPC 与套接字共享:uv_write2

1.25.0 版本更新内容如下:

  • Revert "win,fs: retry if uv_fs_rename fails" (Ben Noordhuis)

  • aix: manually trigger fs event monitoring (Gireesh Punathil)

  • unix: rename WRITE_RETRY_ON_ERROR macro (Ben Noordhuis)

  • darwin: DRY platform-specific error check (Ben Noordhuis)

  • unix: refactor uv__write() (Ben Noordhuis)

  • unix: don't send handle twice on partial write (Ben Noordhuis)

  • tty,win: fix Alt+key under WSL (Bartosz Sosnowski)

  • build: support running tests in out-of-tree builds (Jameson Nash)

  • fsevents: really watch files with fsevents on macos 10.7+ (Jameson Nash)

  • thread,mingw64: need intrin.h header for SSE2 MemoryBarrier (Jameson Nash)

  • win: fix sizeof-pointer-div warning (cjihrig)

  • unix,win: add uv_os_uname() (cjihrig)

  • win, tty: fix CreateFileW() return value check (Bartosz Sosnowski)

  • unix: enable IPv6 tests on OpenBSD (ptlomholt)

  • test: fix test-ipc spawn_helper exit_cb (Santiago Gimeno)

  • test: fix test-ipc tests (Santiago Gimeno)

  • unix: better handling of unsupported F_FULLFSYNC (Victor Costan)

  • win,test: de-flake fs_event_watch_dir_short_path (Refael Ackermann)

  • win: fix msvc warning (sid)

  • openbsd: switch to libuv's barrier implementation (ptlomholt)

  • unix,stream: fix zero byte writes (Santiago Gimeno)

  • ibmi: return EISDIR on read from directory fd (Kevin Adler)

  • build: wrap long lines in Makefile.am (cjihrig)

更新日志


以上所述就是小编给大家介绍的《Libuv 1.25.0 发布,Node 的跨平台异步 IO 库》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Hit Refresh

Hit Refresh

Satya Nadella、Greg Shaw / HarperBusiness / 2017-9-26 / USD 20.37

Hit Refresh is about individual change, about the transformation happening inside of Microsoft and the technology that will soon impact all of our lives—the arrival of the most exciting and disruptive......一起来看看 《Hit Refresh》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试