AnyEvent::Impl::EventLib

Section: User Contributed Perl Documentation (3)
Updated: 2008-05-01
Index Return to Main Contents
 

NAME

AnyEvent::Impl::EventLib - AnyEvent adaptor for Event::Lib  

SYNOPSIS

  use AnyEvent;
  use Event::Lib;

  # this module gets loaded automatically as required

 

DESCRIPTION

This module provides transparent support for AnyEvent. You don't have to do anything to make Event work with AnyEvent except by loading Event::Lib before creating the first AnyEvent watcher.

The Event::Lib module suffers from the same limitations and bugs as libevent, most notably it kills already-installed watchers on a filedescriptor and it is unable to support fork. It has many other bugs such as taking references to file handles and callbacks instead of making a copy. Only Tk rivals it in its brokenness.

This adaptor module employs the same workaround around the watcher problem as Tk and should therefore be avoided. (This was done for simplicity, one could in theory work around the problems with lower overhead by managing our own watchers).

Event::Lib also leaks filehandles and memory and tends to just exit on problems.

Avoid Event::Lib if you can.  

SEE ALSO

AnyEvent, Event::Lib.  

AUTHOR

 Marc Lehmann <schmorp@schmorp.de>
 http://home.schmorp.de/


 

Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO
AUTHOR

linux.jgfs.net manual pages