ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent/lib/AnyEvent/Impl/Glib.pm
(Generate patch)

Comparing AnyEvent/lib/AnyEvent/Impl/Glib.pm (file contents):
Revision 1.28 by root, Tue Aug 2 22:07:16 2011 UTC vs.
Revision 1.29 by root, Thu Aug 4 09:14:02 2011 UTC

122 delete $pid_cb{$pid}; 122 delete $pid_cb{$pid};
123 remove Glib::Source delete $pid_w{$pid}; 123 remove Glib::Source delete $pid_w{$pid};
124 } 124 }
125} 125}
126 126
127sub AnyEvent::CondVar::_wait {
128 $mainloop->iteration (1) until $_[0]{_ae_sent};
129}
130
131#sub loop { 127#sub loop {
132# # hackish, but we do not have a mainloop, just a maincontext 128# # hackish, but we do not have a mainloop, just a maincontext
133# $mainloop->iteration (1) while 1; 129# $mainloop->iteration (1) while 1;
134#} 130#}
131
132sub _poll {
133 $mainloop->iteration (1);
134}
135
136sub AnyEvent::CondVar::Base::_wait {
137 $mainloop->iteration (1) until $_[0]{_ae_sent};
138}
135 139
1361; 1401;
137 141
138=head1 SEE ALSO 142=head1 SEE ALSO
139 143

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines