BSD Ports

devel/libev 4.33 NetBSD

Full-featured and high-performance event loop

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
2-clause-bsd OR gnu-gpl-v2
Categories
devel
Package size
110.0 KiB, 455.4 KiB installed

Description

Libev is modelled (very losely) after libevent and the Event perl module, but is faster, scales better and is more correct, more featureful, and smaller. Some of the specialties of libev not commonly found elsewhere are:

  • extensive and detailed, readable documentation (not doxygen garbage).
  • fully supports fork, can detect fork in various ways and automatically re-arms kernel mechanisms that do not support fork.
  • highly optimised select, poll, epoll, kqueue and event ports backends.
  • filesystem object (path) watching (with optional linux inotify support).
  • wallclock-based times (using absolute time, cron-like).
  • relative timers/timeouts (handle time jumps).
  • fast intra-thread communication between multiple event loops (with optional fast linux eventfd backend).
  • extremely easy to embed.
  • very small codebase, no bloated library.
  • fully extensible by being able to plug into the event loop, integrate other event loops, integrate other event loop users.
  • very little memory use (small watchers, small event loop data).
  • optional C++ interface allowing method and function callbacks at no extra memory or runtime overhead.
  • optional Perl interface with similar characteristics
  • support for other languages (multiple C++ interfaces, D, Ruby, Python) available from third-parties.

In the other systems

SystemPortVersion
NetBSDdevel/libev4.33
FreeBSDdevel/libev4.33_1,1
OpenBSDdevel/libev4.33
DragonFlydevel/libev4.33_1,1
MidnightBSDdevel/libev4.33
HardenedBSDdevel/libev4.33_1,1
GhostBSDdevel/libev4.33_1,1
OPNsensedevel/libev4.33_1,1

Install

Binary package:

pkgin install libev

From pkgsrc:

cd /usr/pkgsrc/devel/libev && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_644.33
NetBSD 10.1 aarch644.33
SmartOS / illumos x86_644.33
macOS 15 arm644.33

Dependencies