ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/ext/dm-support.ext
(Generate patch)

Comparing deliantra/server/ext/dm-support.ext (file contents):
Revision 1.4 by root, Tue Apr 17 10:38:28 2007 UTC vs.
Revision 1.7 by root, Mon Aug 20 18:11:02 2007 UTC

26reload_perl & 26reload_perl &
27reload_regions & 27reload_regions &
28reload_facedata & 28reload_facedata &
29reload_treasures & 29reload_treasures &
30reload_archetypes & 30reload_archetypes &
31ext::help::reload &
32ext::books::reload &
33ext::map_world::reload &
31EOF 34EOF
32 print "\n> "; 35 print "\n> ";
33 36
34 Event->io (fd => $fh, poll => 'r', data => 0, cb => sub { 37 Event->io (fd => $fh, poll => 'r', data => 0, cb => sub {
35 if (defined (my $cmd = <$fh>)) { 38 if (defined (my $cmd = <$fh>)) {
57 print "result:\n", cf::dumpval @res > 1 ? \@res : $res[0] if @res; 60 print "result:\n", cf::dumpval @res > 1 ? \@res : $res[0] if @res;
58 print "\n> "; 61 print "\n> ";
59 }; 62 };
60 63
61 if ($cmd =~ s/\s*&$//) { 64 if ($cmd =~ s/\s*&$//) {
62 Coro::async_pool { $sub->() }; 65 Coro::async { $sub->() };
63 } else { 66 } else {
64 $sub->(); 67 $sub->();
65 } 68 }
66 } 69 }
67 70

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines