see also the t/00* test script which does this.my $empty = new Coro::State; my $other; $other = new Coro::State sub { print "hi\n"; $other->transfer ($empty); }; $empty->transfer ($other);
In reply to Re^2: Coro: running a specific coroutine
by Anonymous Monk
in thread Coro: running a specific coroutine
by moritz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |