The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

AnyEvent::Impl::Coro - Base class for Coro::EV and Coro::Event

SYNOPSIS

  # this module gets loaded automatically as required, never
  # load it manually.

DESCRIPTION

This module provides general coro support for both AnyEvent::Impl::CoroEV and AnyEvent::Impl::CoroEvent.

It is recommended to use Coro::unblock to register callbacks if your program uses Coroutines, as most event models are not coroutine-safe/reentrant (only EV is known to be).

Internally, Coro::Signal's are used to implement AnyEvent's condvars.

SEE ALSO

AnyEvent, Coro, AnyEvent::Impl::CoroEV, AnyEvent::Impl::CoroEvent.

AUTHOR

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