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

Comparing Coro/Coro.pm (file contents):
Revision 1.356 by root, Mon Mar 16 11:12:52 2020 UTC vs.
Revision 1.357 by root, Wed Jul 21 06:36:11 2021 UTC

188 188
189 my $hello_world = $coro->join; 189 my $hello_world = $coro->join;
190 190
191 print $hello_world; 191 print $hello_world;
192 192
193Another way to terminate is to call C<< Coro::terminate >>, which at any 193Another way to terminate is to call C<< Coro::terminate >>, which works at
194subroutine call nesting level: 194any subroutine call nesting level:
195 195
196 async { 196 async {
197 Coro::terminate "return value 1", "return value 2"; 197 Coro::terminate "return value 1", "return value 2";
198 }; 198 };
199 199

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines