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

Changes for version 5.22 - 2010-04-14

  • correctly return udnef on errors in Coro::Handle::read/write (testcase by Marc Wims).
  • convert Coro::Util into a "perl compatibility wrapper" - the functions are less useful now, but are drop-in replacements for existing functions, listing better alternatives in the documentation. This also fixes a bug in Coro::LWP which naively substituted Socket::inet_aton with Coro::Util::inet_aton.
  • do not override $Coro::idle unconditionally in Coro.pm, as other modules could have provided their own idle coro already (for exmaple, Coro::AnyEvent).
  • fix Coro::Util::gethost* functions.
  • Coro::Timer corretcly exports it's symbols (reported by Hideki Yamamura).

Documentation

Modules

the only real threads in perl
truly asynchronous file and directory I/O
integrate threads into AnyEvent
truly asynchronous bdb access
message queues
various functions that help debugging Coro programs
non-blocking I/O with a blocking interface.
make LWP non-blocking - as much as possible
MakeMaker glue for the XS-level Coro API
reader/write locks
a (slow but coro-aware) replacement for CORE::select
counting semaphores
efficient set of counting semaphores
thread signals (binary semaphores)
non-blocking socket-I/O
manage coroutine-specific variables.
first class continuations
offer a more fine-grained Storable interface
timers and timeouts, independent of any event loop
various utility functions.
do events the coro-way, with EV
do events the coro-way, with Event

Provides

in Coro/State.pm
in Coro/AnyEvent.pm
in Coro/Handle.pm
in Coro/LWP.pm
in Coro/Timer.pm