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

Comparing Coro/Coro.pm (file contents):
Revision 1.139 by root, Thu Sep 27 15:52:30 2007 UTC vs.
Revision 1.140 by root, Thu Sep 27 16:25:10 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_sub {
161 &{$current->{_trace_sub_cb}}
162}
163
164sub _do_trace_line {
165 &{$current->{_trace_line_cb}}
166}
167
168# this coroutine is necessary because a coroutine 160# this coroutine is necessary because a coroutine
169# cannot destroy itself. 161# cannot destroy itself.
170my @destroy; 162my @destroy;
171my $manager; 163my $manager;
172 164

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines