OpenBSD Journal

Libevent Rolled In

Contributed by jose on from the cvs-add dept.

The libevent library, which provides an asynchronous event handling engine, has been rolled into the base library code in OpenBSD-current. This library, from OpenBSD developer Niels Provos (who also works on OpenSSH, authored the systrace facility, etc), will now easily provide developers an event handler for various applications. Components within the base OpenBSD tree are being converted to use this functionality. See the manual page and example code for libevent usage.

(Comments are closed)


Comments
  1. By Dan () on

    I am planning to use kqueue, so:
    Why use libevent if we have kqueue?

    Have i mess somthing about libevent?

  2. By Anonymous Coward () on

    I'm not a developer but a regular OpenBSD user (if there's such a thing). Can someone explain how this will affect a typical OpenBSD admin/user? Thanks.

Credits

Copyright © - Daniel Hartmeier. All rights reserved. Articles and comments are copyright their respective authors, submission implies license to publish on this web site. Contents of the archive prior to as well as images and HTML templates were copied from the fabulous original deadly.org with Jose's and Jim's kind permission. This journal runs as CGI with httpd(8) on OpenBSD, the source code is BSD licensed. undeadly \Un*dead"ly\, a. Not subject to death; immortal. [Obs.]