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

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

内容简介: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 库》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

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

Complexity and Approximation

Complexity and Approximation

G. Ausiello、P. Crescenzi、V. Kann、Marchetti-sp、Giorgio Gambosi、Alberto M. Spaccamela / Springer / 2003-02 / USD 74.95

This book is an up-to-date documentation of the state of the art in combinatorial optimization, presenting approximate solutions of virtually all relevant classes of NP-hard optimization problems. The......一起来看看 《Complexity and Approximation》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具