ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Coro/Coro/Timer.pm
(Generate patch)

Comparing Coro/Coro/Timer.pm (file contents):
Revision 1.75 by root, Wed Apr 14 01:56:03 2010 UTC vs.
Revision 1.76 by root, Mon May 17 16:51:44 2010 UTC

28use AnyEvent (); 28use AnyEvent ();
29 29
30use Coro (); 30use Coro ();
31use Coro::AnyEvent (); 31use Coro::AnyEvent ();
32 32
33our $VERSION = 5.22; 33our $VERSION = 5.23;
34our @EXPORT_OK = qw(timeout sleep); 34our @EXPORT_OK = qw(timeout sleep);
35 35
36=item $flag = timeout $seconds; 36=item $flag = timeout $seconds;
37 37
38This function will wake up the current coroutine after $seconds 38This function will wake up the current coroutine after $seconds

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines