Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

How can I force thread switching?

by ajl52 (Novice)
on Sep 28, 2013 at 15:06 UTC ( #1056140=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub queueProcessRequest {
        my ($job) = @_;
    ...
        $dispatcher->enqueue($job);
        return undef
    }
    
  2. or download this
    sub syncIdle {
        # Check if any thread errored out
    ...
    #         sleep(1);    # Retry later
        }
    }
    
  3. or download this
    sub queueProcessRequest {
        my ($job) = @_;
    ...
        $dispatcher->enqueue($job);
        return undef
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1056140]
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (16)
As of 2014-10-22 15:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (119 votes), past polls