内容简介:Libuv 是一个专注于异步 I/O 的多平台支持库,主要用于 Node.js。 特性包括: 非阻塞 TCP 套接字 非阻塞命名管道 UDP 定时器 子进程生成 通过 uv_getaddrinfo 实现异步 DNS 异步文件系统 API:uv_fs_* 高分辨率时...
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)
以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网
猜你喜欢:- Martian 发布 3.2.15,采用异步处理
- RxJava 3.0.12 发布,异步编程库
- Django 3.0 发布,开始支持异步功能
- easyhttp v1.1发布,新增异步并发请求
- Tokio 1.0 发布,Rust 异步编程框架
- Django 3.0 正式发布,开始支持异步功能
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
Responsive Web Design
Ethan Marcotte / Happy Cog / 2011-6 / USD 18.00
From mobile browsers to netbooks and tablets, users are visiting your sites from an increasing array of devices and browsers. Are your designs ready? Learn how to think beyond the desktop and craft be......一起来看看 《Responsive Web Design》 这本书的介绍吧!