Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Multithreaded Script CPU Usage

by BrowserUk (Pope)
on Aug 26, 2008 at 00:44 UTC ( #706809=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    c:\Perl\packages\Thread-Pool-Simple-0.23>nmake test
    
    ...
    Failed 4/4 test scripts, 0.00% okay. 0/4 subtests failed, 100.00% okay
    +.
    NMAKE : fatal error U1077: 'C:\Perl\bin\perl.exe' : return code '0x2'
    Stop.
    
  2. or download this
        my $self = &share({});
    
  3. or download this
        $self->{shutdown_lock} = Thread::Semaphore->new();
    
  4. or download this
        $self->{shutdown_lock}->down(); ## line 39
    
  5. or download this
    ???SCALAR(0x19a690c)
    Can't call method "down" on unblessed reference at 
    C:\Perl\packages\Thread-Pool-Simple-0.23\blib\lib/Thread/Pool/Simple.p
    +m 
    line 43.
    
  6. or download this
    c:\Perl\packages\Thread-Pool-Simple-0.23>nmake test
    
    ...
    t\4....ok
    All tests successful.
    Files=4, Tests=1805, 20 wallclock secs ( 0.00 cusr +  0.00 csys =  0.0
    +0 CPU)
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2014-11-24 04:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (135 votes), past polls