Event
Details
| Size: | 0K |
| Last Update: | 2008-06-01 22:45:40 |
| Version: | 1.06 |
| OS Support: | Linux |
| License/Program Type: | Perl Artistic License |
| Publisher: | Joshua N. Pritikin |
| Price: | $0.00 |
Description:
Event 1.06 is libraries software developed by Joshua N. Pritikin.
Event is an Event loop processing.
SYNOPSIS
use Event qw(loop unloop);
initialize application
Event->flavor(attribute => value, ...);
my $ret = loop();
and some callback will call
unloop('ok');
The Event module provide a central facility to watch for various types of events and invoke a callback when these events occur. The idea is to delay the handling of events so that they may be dispatched in priority order when it is safe for callbacks to execute.
Events (in the ordinary sense of the word) are detected by watchers, which reify them as events (in the special Event module sense). For clarity, the former type of events may be called "source events", and the latter "target events". Source events, such as signals arriving, happen whether or not they are being watched. If a source event occurs which a watcher is actively watching then the watcher generates a corresponding target event. Target events are only created by watchers. If several watchers are interested in the same source event then each will generate their own target event. Hence, any particular source event may result in zero, one, two, or any number of target events: the same as the number of watchers which were actively watching for it.
Target events are queued to be processed in priority order (priority being determined by the creating watcher) and in FIFO order among events of the same priority. Queued ("pending") events can, in some cases, be cancelled before being processed. A queued event is processed by being passed to the callback function (or method on a particular object or class) which was specified to the watcher.
A watcher, once created, operates autonomously without the Event user having to retain any reference to it. However, keeping a reference makes it possible to modify most of the watcher's characteristics. A watcher can be switched between active and inactive states. When inactive, it does not generate target events.
Some types of source event are not reified as target events immediately. Signals received, for example, are counted initially. The counted signals are reified at certain execution points. Hence, signal events may be processed out of order, and if handled carelessly, on the wrong side of a state change in event handling. A useful way to view this is that occurrence of the source event is not actually the arrival of the signal but is triggered by the counting of the signal.
Reification can be forced when necessary. The schedule on which some other events are created is non-obvious. This is especially the case with watchers that watch for a condition rather than an event. In some cases, target events are generated on a schedule that depends on the operation of the event loop.
Requirements:
Perl
Event 1.06 supports different languages (including english). It works with Linux.
Downloading Event 1.06 will take if you use fast ADSL connection.
0 comments
Add to
Event Version History
Related Software
|
|
From category: Perl-Modules |
| Log::Agent::Driver::Apache module allows you to use mod_perl with standard logger.... |
|
|
From category: Libraries |
| Audio::DB::Web 0.01 is libraries software developed by Todd Harris. Audio::DB::Web is a Perl module that assists in web-based queries of an MP3 Database. SYNOPSIS use Audio::DB::Web... |
|
|
From category: Libraries |
| Alvis::Pipeline 0.11 is libraries software developed by Mike Taylor. Alvis::Pipeline is a Perl extension for passing XML documents along the Alvis pipeline. SYNOPSIS use Alvis::Pipel... |
|
|
From category: Version-Control |
| ArchWay 0.2.1 is version control software developed by Clint Adams. ArchWay is a full-featured graphical user interface for the GNU Arch revision control system. It includes a set of special... |
|
|
From category: Libraries |
| CGI::Wiki::Plugin::RSS::Reader 1.4 is libraries software developed by Earle Martin. CGI::Wiki::Plugin::RSS::Reader is a Perl module retrieve RSS feeds for inclusion in CGI::Wiki nodes. Use t... |
|
|
From category: Perl-Modules |
| Lingua::Zompist::Cuezi is a Perl module to inflect Cuezi nouns, verbs, and adjectives.... |
|
|
From category: Libraries |
| tree.hh is a general purpose templated tree class for C++ in the spirit of the STL, and compatible with the STL algorithms.... |
|
|
From category: Libraries |
| BBDB::Export 0.012 is libraries software developed by wu. BBDB::Export is a Perl module to export data from The Insidious Big Brother Database. SYNOPSIS use BBDB::Export;... |
|
|
From category: Libraries |
| cgixx 1.07 is libraries software developed by Isaac W. Foraker. cgixx is intended as a modern CGI library for ISO standard C++ compilers. The focus of the cgixx library is not for the genera... |
|
|
From category: Bug-Tracking |
| Bosco 1.2 is bug tracking software developed by Jason Lee. Bosco is a rewrite of the popular Bugzilla defect tracking software in PHP. It is database-independent, and aims to be easy to main... |
|
|
From category: Libraries |
| Basilisk Live CD 1.40 is libraries software developed by Linux4all. This is a fedora core 3 based Livecd with KDE 3.3.1, Gnome 2.8, OpenOffice, Fire- and Thunderbird and a lot of other tools.... |
|
|
From category: Libraries |
| ExtUtils::MM_Any 6.30 is libraries software developed by Michael G Schwern. ExtUtils::MM_Any is a Perl module with Platform-agnostic MM methods. SYNOPSIS FOR INTERNAL USE ONLY! \... |
|
|
From category: Assembler-Tools |
| cc65 2.11.0 is assembler tools software developed by Ullrich von Bassewitz. cc65 is a complete cross development package for 6502 systems, including a powerful macro assembler, a C compiler, linker... |
|
|
From category: Assembler-Tools |
| ELF statifier 1.6.8 is assembler tools software developed by Valery Reznic. ELF statifier create from dynamically linked executables and all it\'s libraries one file. This file can be copied and ru... |
|
|
From category: Libraries |
| Class::Meta 0.53 is libraries software developed by David Wheeler. Class::Meta is a Perl class automation, introspection, and data validation. SYNOPSIS Generate a class: package... |
Leave a comment