Kalpana Kalpana (Editor)

Libuv

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Written in
  
C

Operating system
  
Cross-platform

Libuv

Stable release
  
1.11.0 / February 2, 2017; 40 days ago (2017-02-02)

Repository
  
github.com/libuv/libuv.git

Platform
  
FreeBSD, OpenBSD, Linux, Android, Windows and OS X/Darwin

Type
  
I/O Abstraction Library

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 event ports. It is primarily designed for use in Node.js but it is also used by other software projects. It was originally an abstraction around libev or Microsoft IOCP, as libev doesn't support Windows. In node-v0.9.0's version of libuv, the dependency on libev was removed.

Features

From:

  • 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
  • References

    Libuv Wikipedia