- or download this
sub walktimer {
## The queue handle is passed in when the thread is started
...
}
}
}
- or download this
elsif( $okopen == 1) {
#Kill the walk timer if it is running, someone opened
+the showcase legit
...
}
$openthread[$showcasenum] = threads->create(\&opentime
+r, $showcasenum, $opentime, $showcasedesc);
}
- or download this
elsif( $okopen == 1) {
$Qwalktimer->enqueue( $showcasenum );
}
- or download this
sub walktimer {
#Sleep for 180 seconds, upon completion execute SQL to change OK_O
+PEN back to all zero for $showcasenum
...
debug("Walking thread for $showcasenum is expiring...");
threads->detach();
}