ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent/lib/AnyEvent/Impl/CoroEV.pm
Revision: 1.4
Committed: Sat Apr 19 03:57:10 2008 UTC (16 years, 1 month ago) by root
Branch: MAIN
CVS Tags: rel-3_3, rel-3_2, rel-3_12, rel-3_11
Changes since 1.3: +1 -1 lines
Log Message:
*** empty log message ***

File Contents

# Content
1 =head1 NAME
2
3 AnyEvent::Impl::CoroEV - AnyEvent adaptor for Coro::EV, EV
4
5 =head1 SYNOPSIS
6
7 use AnyEvent;
8 use EV;
9
10 # this module gets loaded automatically as required
11
12 =head1 DESCRIPTION
13
14 This module provides transparent support for AnyEvent. You don't have to
15 do anything to make Coro::EV work with AnyEvent except by loading Coro::EV
16 before creating the first AnyEvent watcher.
17
18 Unlike all other event models, Coro::EV models allow recursion in condvars
19 (see L<AnyEvent>, C<< $condvar->wait >>), I<as long as this is done from
20 different coroutines>.
21
22 See L<AnyEvent::Impl::Coro> and L<Coro::EV> for more details about L<Coro>
23 integration.
24
25 =cut
26
27 package AnyEvent::Impl::CoroEV;
28
29 use base qw(AnyEvent::Impl::Coro AnyEvent::Impl::EV);
30
31 use strict;
32 no warnings;
33
34 use Coro::EV ();
35
36 1;
37
38 =head1 SEE ALSO
39
40 L<AnyEvent>, L<AnyEvent::Impl::Coro>, L<Coro::EV>.
41
42 =head1 AUTHOR
43
44 Marc Lehmann <schmorp@schmorp.de>
45 http://home.schmorp.de/
46
47 =cut
48
49