libevent integration on NetBSD
 |
admin
Administrator
Registered: Jan 2002
Location:
Posts: 2291 |
libevent integration on NetBSD
Niels Provos says this is a heads up for the upcoming integration of libevent into the NetBSD source tree. Libevent provides a simple API to abstract event notification and handling. Applications are notified via callbacks on IO events, timers and signals. Libevent is meant to replace the event loop found in event driven software.
[Read email announcement]
---------------------------------------------------------
Subject: heads up: libevent integration
To: None <tech-userlevel@netbsd.org>
From: Niels Provos <provos@citi.umich.edu>
List: tech-userlevel
Date: 06/08/2003 17:37:44
Hi,
this is a heads up for the upcoming integration of libevent into the
tree.
Libevent provides a simple API to abstract event notification and
handling. Applications are notified via callbacks on IO events,
timers and signals. Libevent is meant to replace the event loop found
in event driven software. It automatically picks the best underlying
operating system primitive. In the case of NetBSD, this is kqueue(2)
with poll(2) as a fall back.
The code is small and has been used by many people over the years to
implement event driven software. You can find all the information at
http://www.monkey.org/~provos/libevent/
The page includes screenshots that show performance comparisons
between kqueue and poll. Any application that is written towards
libevent automatically makes use of the fastest available primitive.
The signal callbacks allow an application to call all libc functions
without having to worry about reliability and security of signal
handlers, which usually allow only a small subset of safe functions.
Niels.
Report this post to a moderator | IP: Logged |
06-11-2003 03:21 AM |
|
|
|
 |
 |
blowfish
Kernel Saunders
Registered: Jun 2002
Location:
Posts: 1231 |
it's been on openbsd for some time, and it's really nice to work with. unfortunately openbsd is still using libevent 0.5, while the latest version is 0.7 (there were some performance improvements, iirc).
__________________
Go and tell the king that the sky is falling in when it's not (maybe not).
Report this post to a moderator | IP: Logged |
06-11-2003 04:15 AM |
|
|
|
 |
 |
jolan
BSD n00b
Registered: Jun 2002
Location:
Posts: 2 |
Actually, OpenBSD has 0.6. You probably saw the 0.5 in the configure script and jumped to that conclusion.
Report this post to a moderator | IP: Logged |
06-11-2003 11:43 PM |
|
|
|
 |
 |
blowfish
Kernel Saunders
Registered: Jun 2002
Location:
Posts: 1231 |
yep, that was it. do you know the reason for not updating the version on the configure script?
__________________
Go and tell the king that the sky is falling in when it's not (maybe not).
Report this post to a moderator | IP: Logged |
06-12-2003 12:58 AM |
|
|
|
Looking for our FreeBSD Forums? We have moved them off our main page,just follow the link to our FreeBSD Forums page.
Copyright © 2009, WEBSERVER CONSUMER GUIDE
Privacy Policy
Please note:
(1) FreeBSD is a registered trademark of The FreeBSD Foundation.
(2) WEBSERVER CONSUMER GUIDE is in no way affiliated with The FreeBSD Foundation