I have updated the patched libevent tarball at http://dist.schmorp.de/libev/
Documentation is linked from http://software.schmorp.de/pkg/libev.html

No new bugs have been identified in the libev core proper, which is good,
meaning its reaching the point of stability :)

Changes in this release:

- a workaround for a linux 2.4 bug w.r.t. child watchers has been
  implemented.
- the libevent emulation has been tweaked. common programs such as crawl
  now seem to work fine with it (I find it rather hard to replicate libevents
  exact behaviour on when it is safe to call event_set on an event already
  added).
- there is an EV_MINIMAL mode that can reduce codesize and memory consumption
  by up to 30% (with gcc), at the expense of some speed.
- the documentation once more has been improved and expanded.
- a lot of tweaks to improve performance or reduce codesize have been
  implemented.
- all watcher structs are now typedefed, too (struct ev_stat => ev_stat).
- the c++ api has become much leaner (admittedly by using a dirty trick
  that only works with standards-compliant compilers) and therefore faster.

There are two new watcher types:

- ev_fork watchers. these are very small and simple and can be used to hook
  into the fork support mechanism of libevent (they are basically called
  before the next event loop iteration after a fork).
- ev_stat watchers. these basically stat a path periodically and call
  a watcher on any changes (including if the path comes into existance or
  goes out of existance)
- a linux inotify backend is available that is used to supply hints
  to ev_stat watchers (and avoid periodically stat'ing in common cases).
  (while a kqueue backend should not be difficult to write, the ev_stat
  semantics cannot be replicated with kqueue, unfortunately).

All the new watcher types and features can be configured out when embedding
libev, so there is no overhead for features you don't need (rxvt-unicode, in
fact, uses this a lot to stay lean).

Enjoy,

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      [EMAIL PROTECTED]
      -=====/_/_//_/\_,_/ /_/\_\
_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkeymail.org/mailman/listinfo/libevent-users

Reply via email to