close CLLOCK;
}
-
use Msg;
use DXVars;
use DXDebug;
@inqueue = (); # the main input queue, an array of hashes
$systime = 0; # the time now (in seconds)
-$version = "1.45"; # the version no of the software
+$version = "1.47"; # the version no of the software
$starttime = 0; # the starting time of the cluster
$lockfn = "cluster.lock"; # lock file name
@outstanding_connects = (); # list of outstanding connects
sub reap
{
my $cpid;
- while (($cpid = waitpid(-1, WNOHANG)) != -1) {
+ while (($cpid = waitpid(-1, WNOHANG)) > 0) {
dbg('reap', "cpid: $cpid");
@outstanding_connects = grep {$_->{pid} != $cpid} @outstanding_connects;
$zombies-- if $zombies > 0;
dbg('err', "reading in duplicate spot and WWV info ...");
DXProt->init();
-
# put in a DXCluster node for us here so we can add users and take them away
DXNode->new($DXProt::me, $mycall, 0, 1, $DXProt::myprot_version);