Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Notable applications  





2 Alternatives  





3 Major version releases  





4 References  





5 External links  














libevent







 

Edit links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


libevent
Developer(s)Azat Khuzhin, Mark Ellzey, Nick Mathewson, Niels Provos
Initial releaseApril 9, 2002; 22 years ago (2002-04-09)
Stable release

2.1.12 / July 5, 2020; 4 years ago (2020-07-05)[1]

Repository
Written inC
Operating systemCross-platform
PlatformUnix-like, Windows, OS X
TypeNetwork Library
LicenseBSD[2]
Websitelibevent.org

libevent is a software library that provides asynchronous event notification. The libevent API provides a mechanism to execute a callback function when a specific event occurs on a file descriptor or after a timeout has been reached. libevent also supports callbacks triggered by signals and regular timeouts.

libevent is meant to replace the event loop found in event-driven network servers. An application can just call event_dispatch() and then add or remove events dynamically without having to change the event loop.

Currently, libevent supports /dev/poll, kqueue(2), POSIX select(2), Windows IOCP, poll(2), epoll(7) and Solaris event ports. It also has experimental support for real-time signals. The exposed event API is uniform over all of the supported platforms. As a result, libevent allows for portable application development and provides "the most scalable event notification mechanism available on an operating system".[1]

Using callbacks on signals, libevent makes it possible to write "secure" signal handlers as none of the user supplied signal handling code runs in the signal's context.

libevent was created by Niels Provos, and is maintained primarily by Azat Khuzhin. It is released under a BSD license.[3]

Notable applications[edit]

Some of the notable applications that take advantage of libevent are:

Alternatives[edit]

Major version releases[edit]

References[edit]

  1. ^ a b "libevent – an event notification library". libevent.org. Retrieved 17 September 2021.
  • ^ "LICENSE". Github. Retrieved 30 August 2019.
  • ^ http://www.monkey.org/~provos/libevent/LICENSE License of libevent
  • ^ "third_party/libevent - chromium/chromium - Git at Google". chromium.googlesource.com. Retrieved 2023-04-30.
  • ^ "Install". GitHub. Retrieved 2023-04-30.
  • ^ "tmux/README at Master - tmux/tmux - GitHub". GitHub.
  • External links[edit]


    Retrieved from "https://en.wikipedia.org/w/index.php?title=Libevent&oldid=1233399090"

    Categories: 
    C (programming language) libraries
    Events (computing)
    Free computer libraries
    Software using the BSD license
    Hidden categories: 
    Articles needing additional references from June 2013
    All articles needing additional references
     



    This page was last edited on 8 July 2024, at 21:27 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki