--- cvsroot/Coro/Coro.pm 2006/11/25 00:40:26 1.84 +++ cvsroot/Coro/Coro.pm 2006/11/25 00:56:35 1.85 @@ -186,9 +186,8 @@ sub async(&@) { my $pid = new Coro @_; - $manager->ready; # this ensures that the stack is cloned from the manager $pid->ready; - $pid; + $pid } =item schedule @@ -237,7 +236,7 @@ =cut sub _new_coro { -# $current->_clear_idle_sp; # set the idle sp on the following cede + $current->_clear_idle_sp; # set the idle sp on the following cede _set_cede_self; # ensures that cede cede's us first cede; terminate &{+shift};