Changeset 342
- Timestamp:
- 05/07/07 14:40:02 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
honeyclient/branches/exp/kindlund-filesystem/bin/StartAgent.pl
r341 r342 18 18 our $agentState = undef; 19 19 my $tempState = undef; 20 our $faultDetected = 0; 20 21 21 22 print "URL: " . $URL. "\n"; … … 35 36 } 36 37 37 print "Watchdog fault detected, recovering Agent daemon.\n"; 38 if (!$faultDetected) { 39 print "Watchdog fault detected, recovering Agent daemon.\n"; 40 $faultDetected = 1; 41 } 38 42 # XXX: Reenable this, eventually. 39 43 #Carp::carp __PACKAGE__ . "->_watchdogFaultHandler(): Error occurred during processing.\n" . $errMsg; honeyclient/branches/exp/kindlund-filesystem/lib/HoneyClient/Agent.pm
r341 r342 717 717 $thread = async { 718 718 threads->yield(); 719 720 # XXX: Fix this? 721 threads->detach(); # XXX: Test this. 719 722 720 723 # Trap all faults that may occur from these asynchronous operations. … … 909 912 } 910 913 911 threads->detach(); # XXX: Test this. 914 # XXX: Fix this? 915 #threads->detach(); # XXX: Test this. 912 916 return; 913 917 };
