mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-09 12:28:19 -04:00

This is a glass-box test to get more coverage on the event loop backends. We've run into bugs here before with fencepost errors, and it turns out that none of our unit tests had enough events to exercise the resize code. Most of the backends have some kind of logic that resizes an array when: - The highest fd is too high - The number of events added since the last iteration of the loop is too high - The number of active events is too high. This test hits all 3 cases, and increases coverage in select.c by 7%, in poll by 1%, and in kqueue by 9%. svn:r1482
To build libevent, type $ ./configure && make (If you got libevent from the subversion repository, you will first need to run the included "autogen.sh" script in order to generate the configure script.) Install as root via # make install You can run the regression tests by $ make verify Before, reporting any problems, please run the regression tests. To enable the low-level tracing build the library as: CFLAGS=-DUSE_DEBUG ./configure [...] Acknowledgements: ----------------- The following people have helped with suggestions, ideas, code or fixing bugs: Alejo Weston Andros Adamson William Ahern Stas Bekman Andrew Danforth Mike Davis Shie Erlich Alexander von Gernler Artur Grabowski Aaron Hopkins Claudio Jeker Scott Lamb Adam Langley Philip Lewis David Libenzi Nick Mathewson Andrey Matveev Richard Nyberg Jon Oberheide Phil Oleson Dave Pacheco Tassilo von Parseval Pierre Phaneuf Jon Poland Bert JW Regeer Dug Song Taral If I have forgotten your name, please contact me.
Description
A public libevent repository. The official repository is still at at git://levent.git.sourceforge.net/gitroot/levent/libevent
Readme
Multiple Licenses
11 MiB
Languages
C
88.3%
CMake
3.9%
Python
2.5%
M4
2.3%
Roff
1.8%
Other
1.2%