ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/lib/cf.pm
(Generate patch)

Comparing deliantra/server/lib/cf.pm (file contents):
Revision 1.618 by root, Mon Aug 10 18:48:41 2015 UTC vs.
Revision 1.619 by root, Tue Aug 11 02:12:12 2015 UTC

2384 2384
2385 $MAP_PREFETCHER ||= cf::async { 2385 $MAP_PREFETCHER ||= cf::async {
2386 $Coro::current->{desc} = "map prefetcher"; 2386 $Coro::current->{desc} = "map prefetcher";
2387 2387
2388 while (%MAP_PREFETCH) { 2388 while (%MAP_PREFETCH) {
2389 while (my ($k, $v) = each %MAP_PREFETCH) { 2389 for my $k (keys %MAP_PREFETCH) {
2390 if (my $map = find $k) { 2390 if (my $map = find $k) {
2391 $map->load if $v; 2391 $map->load if $v;
2392 } 2392 }
2393 2393
2394 delete $MAP_PREFETCH{$k}; 2394 delete $MAP_PREFETCH{$k};

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines