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

Comparing Coro/Coro.pm (file contents):
Revision 1.136 by root, Sat Sep 22 22:59:31 2007 UTC vs.
Revision 1.137 by root, Wed Sep 26 19:26:48 2007 UTC

155 # call all destruction callbacks 155 # call all destruction callbacks
156 $_->(@{$self->{status}}) 156 $_->(@{$self->{status}})
157 for @{(delete $self->{destroy_cb}) || []}; 157 for @{(delete $self->{destroy_cb}) || []};
158} 158}
159 159
160sub _do_trace {
161 $current->{_trace_cb}->();
162}
163
160# this coroutine is necessary because a coroutine 164# this coroutine is necessary because a coroutine
161# cannot destroy itself. 165# cannot destroy itself.
162my @destroy; 166my @destroy;
163my $manager; 167my $manager;
164 168

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines