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

Comparing Coro/Coro.pm (file contents):
Revision 1.267 by root, Wed Aug 26 08:14:09 2009 UTC vs.
Revision 1.268 by root, Thu Oct 1 23:16:27 2009 UTC

67 67
68=cut 68=cut
69 69
70package Coro; 70package Coro;
71 71
72use strict qw(vars subs); 72use common::sense;
73no warnings "uninitialized"; 73
74use Carp ();
74 75
75use Guard (); 76use Guard ();
76 77
77use Coro::State; 78use Coro::State;
78 79
153handlers), then it must be prepared to be called recursively itself. 154handlers), then it must be prepared to be called recursively itself.
154 155
155=cut 156=cut
156 157
157$idle = sub { 158$idle = sub {
158 require Carp; 159 warn "oi\n";#d#
159 Carp::croak ("FATAL: deadlock detected"); 160 Carp::confess ("FATAL: deadlock detected");
160}; 161};
161 162
162# this coro is necessary because a coro 163# this coro is necessary because a coro
163# cannot destroy itself. 164# cannot destroy itself.
164our @destroy; 165our @destroy;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines