Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^3: How can I force thread switching?

by BrowserUk (Pope)
on Sep 29, 2013 at 19:15 UTC ( #1056256=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    for my $i ( 0 .. 50 ) {
        queueProcessRequest( $i );
    }
    
  2. or download this
        while (my $job = $dispatcher->dequeue()) {
    
  3. or download this
    #!/usr/bin/perl -lw
    use strict;
    ...
        queueProcessRequest( $i );
    }
    endThreadedOperation();
    
  4. or download this
    #!/usr/bin/perl -lw
    use strict;
    ...
    $Q->nq( $_ ) for 1 .. 50;
    $Q->nq( (undef) x $T );
    $_->join for @threads;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1056256]
help
Chatterbox?
[pryrt]: Is there a way to search for/list "nodes I've voted on"? (I thought there was, but cannot find it now)
[choroba]: Your votes in your profile?
[ambrus]: pryrt: yes, there is. link "Your votes" from your profile page.
[ambrus]: (That link work two ways: from your own profile page, it lists all your votes; from anyone else's profile page, it lists your votes on that user's nodes only.)
[choroba]: Wow, and I can create an interesting statistics from it
[LanX]: I've also added a link "my votes" to the personal nodelet
[pryrt]: Thanks, that was what I was looking for

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (13)
As of 2017-03-29 13:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (351 votes). Check out past polls.