Help for this page

Select Code to Download


  1. or download this
    sub walktimer {
        ## The queue handle is passed in when the thread is started
    ...
            }
        }
    }
    
  2. 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);
                }
    
  3. or download this
                elsif( $okopen == 1) {
                    $Qwalktimer->enqueue( $showcasenum );
                }
    
  4. 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();
    }