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

Comparing Coro/Coro.pm (file contents):
Revision 1.42 by root, Tue Nov 6 20:37:20 2001 UTC vs.
Revision 1.46 by root, Sat Feb 9 18:53:02 2002 UTC

36 36
37use Coro::State; 37use Coro::State;
38 38
39use base Exporter; 39use base Exporter;
40 40
41$VERSION = 0.52; 41$VERSION = 0.532;
42 42
43@EXPORT = qw(async cede schedule terminate current); 43@EXPORT = qw(async cede schedule terminate current);
44%EXPORT_TAGS = ( 44%EXPORT_TAGS = (
45 prio => [qw(PRIO_MAX PRIO_HIGH PRIO_NORMAL PRIO_LOW PRIO_IDLE PRIO_MIN)], 45 prio => [qw(PRIO_MAX PRIO_HIGH PRIO_NORMAL PRIO_LOW PRIO_IDLE PRIO_MIN)],
46); 46);
75 }; 75 };
76 } 76 }
77 77
78} 78}
79 79
80=over 4
81
80=item $main 82=item $main
81 83
82This coroutine represents the main program. 84This coroutine represents the main program.
83 85
84=cut 86=cut
134 } 136 }
135}; 137};
136 138
137# static methods. not really. 139# static methods. not really.
138 140
141=back
142
139=head2 STATIC METHODS 143=head2 STATIC METHODS
140 144
141Static methods are actually functions that operate on the current process only. 145Static methods are actually functions that operate on the current process only.
142 146
143=over 4 147=over 4

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines