Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^5: Thread terminating abnormally COND_SIGNAL(6)

by BrowserUk (Patriarch)
on Jul 17, 2013 at 01:53 UTC ( [id://1044695]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    while( my $node = $Qjob->dequeue ) {
        if( $node->{canBeSet} ) {
    ...
            $Q->enqueue( $node ); ## push back for next time.
        }
    }
    
  2. or download this
    sub killThread{
        my $self = shift;
    ...
            my $amtInQ = $queue->pending();
            last if $done && $amtInQ == 0;
            ...
    
  3. or download this
    sub killThread{
        $queue->enqueue( undef );
    }
    
  4. or download this
    while( 1 ) {
        my $node = $queue->dequeue; 
    ...
            $Q->enqueue( $node ); ## push back for next time.
        }
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1044695]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2024-04-25 07:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found