Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.324.173 Times

Thread::Pool 0.32

  Date Added: November 23, 2010  |  Visits: 1.357

Thread::Pool

Report Broken Link
Printer Friendly Version


Product Homepage
Download (103 downloads)



Thread::Pool contains group of threads for performing similar jobs. SYNOPSIS use Thread::Pool; $pool = Thread::Pool->new( { optimize => cpu, # default: memory pre => sub {shift; print "starting worker with @_n", do => sub {shift; print "doing job for @_n"; reverse @_}, post => sub {shift; print "stopping worker with @_n", stream => sub {shift; print "streamline with @_n", monitor => sub { print "monitor with @_n", pre_post_monitor_only => 0, # default: 0 = also for "do" checkpoint => sub { print "checkpointingn" }, frequency => 1000, autoshutdown => 1, # default: 1 = yes workers => 10, # default: 1 maxjobs => 50, # default: 5 * workers minjobs => 5, # default: maxjobs / 2 }, qw(a b c) # parameters to "pre" and "post" routine ); $pool->job( qw(d e f) ); # not interested in result $jobid = $pool->job( qw(g h i) ); @result = $pool->result( $jobid ); # wait for result to be ready $jobid = $pool->job( qw(j k l) ); @result = $pool->result_dontwait( $jobid ); # do _not_ wait for result @result = $pool->waitfor( qw(m n o) ); # submit and wait for result $pool->add; # add worker(s) $pool->remove; # remove worker(s) $pool->workers( 10 ); # adapt number of workers $pool->join; # wait for all removed worker threads to finish $workers = $pool->workers; $todo = $pool->todo; $removed = $pool->removed; $pool->maxjobs( 100 ); # adapt or (de-)activate job throttling $pool->minjobs( 10 ); $pool->autoshutdown( 1 ); # shutdown when object is destroyed $pool->shutdown; # wait until all jobs done $pool->abort; # finish current job and remove all workers $done = $pool->done; # simple thread-use statistics $notused = $pool->notused; Thread::Pool->remove_me; # inside "do" only.

Requirements: No special requirements
Platforms: Linux
Keyword: Job Libraries Print Programming Result Sub Threadpool Wait For Workers
Users rating: 0/10

License: Freeware Size: 26.62 KB
USER REVIEWS
More Reviews or Write Review


THREAD::POOL RELATED
Automation Tools  -  Wait for Files to Copy 1.0
Wait for Files to Copy is a free Automator action that will wait for the files passed to it from the previous action to complete their transfer or copy process. You can add the Wait for Files to Copy Automator action to the beginning of...
92.16 KB  
Desktop Utilities  -  Print Management - CZ Print Job Tracker 5.0.0.46
CZ Print Job Tracker print management software provides easy software solution for Windows NT/2000/XP/2003/Vista/2008/7 print-server and non-print server printing environment i.e. direct IP printer or workstation connected printer. The software...
50.55 MB  
Printer Tools  -  Raw Print Server 1.0
Raw Print Server project is a "raw" print server that makes it possible for a computer to act as a "Socket API" or "AppSocket" print server. This software would not exist without Sam Rushings excellent asyncore module, nor would it exist without...
28.67 KB  
Database Tools  -  QueryPrint 1.0
QueryPrint class allows you to print the result of a database query as an HTML table. A separate module defines the printing. It also allows the result to be displayed on multiple pages.
10 KB  
Graphics Editors  -  MAGIX Xtreme Print Studio 1.0
Create matching covers, labels, inlays, and booklets for CDs and DVDs in a flash! MAGIX Xtreme Print Studio is the ideal program for unique CD/DVD cases and labels. Quickly and easily design and print labels, covers, inlays, and booklets. Even...
24.17 MB  
Printer Tools  -  PyKota Print Quota System 1.26
PyKota is a complete GPLed Print Quota and Accounting Software Solution for the Common UNIX Printing System (aka CUPS) on GNU/Linux and Unix-like operating systems, which offers a great flexibility with regard to the page accounting methods it...
 
Programming  -  Scalide 2009-03-20
Scalide is a Swing Based read-eval-print loop (REPL) / interactive toplevel / interpreter for the Scala programming language. Whatever name you choose the result is the same: It lets the budding programmer arbitrarily divide their code into cells...
9.77 MB  
Code Management Tools  -  Virgil B-03
Virgil projetc is an new, object-oriented, light-weight programming language that is designed for building software for resource-constrained embedded systems at the lowest level. Microcontroller programmers can now develop complete software...
583.68 KB  
Libraries  -  LibsX 2004-01-23
LibsX (formerly LibSpeedX) is a C++ multi-platform set of basic libraries (like strings, ini files, etc) optimized for speed and made from scratch. LibsXs goal is to make programs like games with basic libraries highly optimized for speed and...
27.65 KB  
Utilities  -  Job Jar 0.1.3
The Job Jar is a simple batch queuing system for Unix. Its maindistinguishing feature is that there is no central daemon. Instead, anarbitrary set of workers cooperatively claim jobs from a centraldirectory. A job is any Unix executable file.
70.89 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB