ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent-MP/bin/aemp
(Generate patch)

Comparing AnyEvent-MP/bin/aemp (file contents):
Revision 1.47 by root, Wed Dec 30 13:37:53 2009 UTC vs.
Revision 1.48 by root, Wed Mar 31 17:42:46 2010 UTC

545 if ($ARGV[0] eq "run") { 545 if ($ARGV[0] eq "run") {
546 shift; 546 shift;
547 547
548 # d'oh 548 # d'oh
549 require AnyEvent::Watchdog; 549 require AnyEvent::Watchdog;
550 # now we can load extra modules 550 # only now can we load additional modules
551
552 require AnyEvent;
551 553
552 require AnyEvent::Watchdog::Util; 554 require AnyEvent::Watchdog::Util;
553 AnyEvent::Watchdog::Util::autorestart (1); 555 AnyEvent::Watchdog::Util::autorestart (1);
554 AnyEvent::Watchdog::Util::heartbeat (300); 556 AnyEvent::Watchdog::Util::heartbeat (300);
555 557
556 require AnyEvent;
557 require AnyEvent::MP::Kernel; 558 require AnyEvent::MP::Kernel;
558 AnyEvent::MP::Kernel::configure (@ARGV); 559 AnyEvent::MP::Kernel::configure (@ARGV);
559 560
560 AnyEvent::detect () eq "AnyEvent::Impl::EV" 561 AnyEvent::detect () eq "AnyEvent::Impl::EV"
561 ? EV::loop () 562 ? EV::loop ()

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines