Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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 lurking in the Monastery: (5)
As of 2015-07-06 03:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (70 votes), past polls