libuv

From Wikipedia, the free encyclopedia

libuv
Libuv.svg
Stable release
1.43.0[1] Edit this on Wikidata / 5 January 2022; 49 days ago (5 January 2022)
Repository
Written inC
Operating systemCross-platform
PlatformLinux, Android, Windows and OS X/Darwin,[2] FreeBSD, OpenBSD
TypeI/O abstraction library
LicenseMIT
Websitelibuv.org Edit this on Wikidata

libuv is a multi-platform C library that provides support for asynchronous I/O based on event loops. It supports epoll(4), kqueue(2), Windows IOCP, and Solaris . It is primarily designed for use in Node.js but it is also used by other software projects.[3] It was originally an abstraction around or Microsoft IOCP, as doesn't support IOCP on Windows. In node-v0.9.0's version of libuv, the dependency on libev was removed.[4]

Features[]

From:[2]

  • Full-featured event loop backed by epoll, kqueue, IOCP, event ports
  • Asynchronous TCP and UDP sockets
  • Asynchronous DNS resolution
  • Asynchronous file and file system operations
  • File system events
  • ANSI escape code controlled TTY
  • IPC with socket sharing, using Unix domain sockets or named pipes (Windows)
  • Child processes
  • Thread pool
  • Signal handling
  • High resolution clock
  • Threading and synchronization primitives

See also[]

References[]

  1. ^ "Release v1.43.0".
  2. ^ a b "The libuv project page and source code". GitHub. Retrieved 30 June 2016.
  3. ^ "Projects that use libuv". libuv GitHub project page. Retrieved 30 June 2016.
  4. ^ An introduction to libuv

External links[]

Retrieved from ""