DavidLeeds / event

Tiny epoll-based event loop library for event-driven Linux applications

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

event

Tiny epoll-based event loop library for event-driven Linux applications.

Features

  • I/O listeners for handling events on sockets and friends
  • Timers with millisecond resolution
  • Dispatch and exit handling that is thread- and signal-safe and lock-free
  • Delightfully simple and clean interface
  • Integration with systemd sd-event loop

Future Work

  • Add file and directory listener support built on inotify
  • Add built-in signal handling support (if signalfd can be be setup in a bullet-proof way)
  • Enhance event_dispatch() to allow high throughput capability (currently limited by socket buffer size).

About

Tiny epoll-based event loop library for event-driven Linux applications

License:MIT License


Languages

Language:C 91.5%Language:CMake 8.5%