… | |
… | |
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 |