Changeset 378
- Timestamp:
- 05/25/07 18:21:01 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
honeyclient/branches/exp/kindlund-filesystem/lib/HoneyClient/Agent.pm
r377 r378 689 689 } else { 690 690 print "Thread is NOT running.\n"; 691 print "Joining dead thread...\n";692 # XXX: Check to see if this works.693 threads->object($tid)->join();694 print "Finished dead thread join!\n";695 691 } 696 692 } else { … … 1010 1006 } 1011 1007 1012 # This threads->detach() call needs to be at the end of the1013 # thread code, because by calling this, we signal that the1014 # child thread is no longer running and thus the1015 # thread->is_running() would return false.1016 #threads->detach();1017 1008 # XXX: Debugging, remove eventually. 1018 1009 print "About to return out of child thread.\n"; 1019 #return; 1010 if (!threads->is_detached()) { 1011 threads->detach(); 1012 } 1013 threads->exit(); 1020 1014 } 1021 1015
