1 | =head1 NAME |
1 | =head1 NAME |
2 | |
2 | |
3 | Coro - the real perl threads |
3 | Coro - real threads in perl |
4 | |
4 | |
5 | =head1 SYNOPSIS |
5 | =head1 SYNOPSIS |
6 | |
6 | |
7 | use Coro; |
7 | use Coro; |
8 | |
8 | |
… | |
… | |
26 | $locked = 1; |
26 | $locked = 1; |
27 | $lock->up; |
27 | $lock->up; |
28 | |
28 | |
29 | =head1 DESCRIPTION |
29 | =head1 DESCRIPTION |
30 | |
30 | |
|
|
31 | For a tutorial-style introduction, please read the L<Coro::Intro> |
|
|
32 | manpage. This manpage mainly contains reference information. |
|
|
33 | |
31 | This module collection manages coroutines, that is, cooperative |
34 | This module collection manages coroutines, that is, cooperative |
32 | threads. Coroutines are similar to kernel threads but don't (in general) |
35 | threads. Coroutines are similar to kernel threads but don't (in general) |
33 | run in parallel at the same time even on SMP machines. The specific flavor |
36 | run in parallel at the same time even on SMP machines. The specific flavor |
34 | of coroutine used in this module also guarantees you that it will not |
37 | of coroutine used in this module also guarantees you that it will not |
35 | switch between coroutines unless necessary, at easily-identified points |
38 | switch between coroutines unless necessary, at easily-identified points |
… | |
… | |
756 | |
759 | |
757 | Debugging: L<Coro::Debug>. |
760 | Debugging: L<Coro::Debug>. |
758 | |
761 | |
759 | Support/Utility: L<Coro::Specific>, L<Coro::Util>. |
762 | Support/Utility: L<Coro::Specific>, L<Coro::Util>. |
760 | |
763 | |
761 | Locking/IPC: L<Coro::Signal>, L<Coro::Channel>, L<Coro::Semaphore>, L<Coro::SemaphoreSet>, L<Coro::RWLock>. |
764 | Locking/IPC: L<Coro::Signal>, L<Coro::Channel>, L<Coro::Semaphore>, |
|
|
765 | L<Coro::SemaphoreSet>, L<Coro::RWLock>. |
762 | |
766 | |
763 | IO/Timers: L<Coro::Timer>, L<Coro::Handle>, L<Coro::Socket>, L<Coro::AIO>. |
767 | IO/Timers: L<Coro::Timer>, L<Coro::Handle>, L<Coro::Socket>, L<Coro::AIO>. |
764 | |
768 | |
765 | Compatibility: L<Coro::LWP>, L<Coro::BDB>, L<Coro::Storable>, L<Coro::Select>. |
769 | Compatibility: L<Coro::LWP> (but see also L<AnyEvent::HTTP> for |
|
|
770 | a better-working alternative), L<Coro::BDB>, L<Coro::Storable>, |
|
|
771 | L<Coro::Select>. |
766 | |
772 | |
767 | XS API: L<Coro::MakeMaker>. |
773 | XS API: L<Coro::MakeMaker>. |
768 | |
774 | |
769 | Low level Configuration, Coroutine Environment: L<Coro::State>. |
775 | Low level Configuration, Coroutine Environment: L<Coro::State>. |
770 | |
776 | |