Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 imbibing at the Monastery: (4)
As of 2014-09-15 02:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (145 votes), past polls