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

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

Serving Software Downloads in 976 Categories, Downloaded 29.541.380 Times

Async::Group 0.3

  Date Added: January 08, 2010  |  Visits: 758

Async::Group

Report Broken Link
Printer Friendly Version


Product Homepage
Download (82 downloads)



Async::Group is a Perl class to deal with simultaneous asynchronous calls. SYNOPSIS use Async::Group ; use strict ; sub sub1 { print "Dummy subroutine n"; my $dummy = shift ; my $cb = shift ; &$cb(1); } sub allDone { print "All done, result is ", shift ,"n" ; } my $a = Async::Group->new(name => aTest, test => 1) ; $a->run(set => [ sub {⊂1( callback => sub {$a->callDone(@_)} )}, sub {⊂1( callback => sub {$a->callDone(@_)} )} ], callback => &allDone ) # or another way which avoids the clumsy nested subs my $cb = $a->getCbRef(); $a->run(set => [ sub {⊂1( callback => $cb)}, sub {⊄1( callback => $cb )} ], callback => &allDone ) If you sometimes have to launch several asynchronous calls in parrallel and want to call one call-back function when all these calls are finished, this module may be for you. Async::Group is a class which enables you to call several asynchronous routines. Each routine may have their own callback. When all the routine are over (i.e. all their callback were called), Async::Group will call the global callback given by the user. Note that one Async::Group objects must be created for each group of parrallel calls. This object may be destroyed (or will vanish itself) once the global callback is called. Note also that Async::Group does not perform any fork or other system calls. It just run the passed subroutines and keep count of the call-back functions called by the aforementionned subroutines. When all these subs are finished, it calls another call-back (passed by the user) to perform whatever function required by the user. Using fork or threads or whatever is left to the user..

Requirements: No special requirements
Platforms: Linux
Keyword: Asyncgroup Asynchronous Callback Calls Class Deal With Libraries Programming Sub To Deal With
Users rating: 0/10

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


ASYNC::GROUP RELATED
Libraries  -  Extended C++ Callback Library 0.0.6
Extended C++ Callback Library provides functors and delegates for up to ten parameters. Some callback "containers" will make life easier in special cases. For example, with DelegateList, you are able to execute all callbacks with a single call....
532.48 KB  
Sports  -  EDGE MMA 1.54.90.1550
Learn Brazilian Jiu Jitsu via video techniques by blackbelt and UFC veteran David Branch. Learn MMA and Wrestling from world class Edge affiliated athletes. Keep up to date with Edge news and social media. View the schedule and information for the...
21 MB  
MS Office Add-Ins  -  TRIGO.XLA 41007
Add-In for MS-Excel with extended trigonometric functions to calculate with decimal degrees. Also included - get decimal degrees from trigonometric values, convert decimal degrees to degrees:minutes: seconds and vice versa. Includes INVOLUT...
88 KB  
Text Chat Clients  -  BlackPanda 1.0.195
BlackPanda is a handy instant messaging application designed to provide users with an easy way to chat with friends from many popular networks in one integrated program. Supported IM networks are ICQ, AOL, Google Talk, Facebook, MSN, IRC, Skype,...
 
Communication Tools  -  Black Panda Instant Messenger 1.0.195
Instant Messenger provides user with an easy way to chat with friends from many popular networks in one integrated program. Supported IM networks are ICQ, AOL, Google Talk, Facebook, MSN, IRC, Skype, Gagu-gadu a many more. It is based on great...
18.5 MB  
Audio Tools  -  undvd 0.7.5
undvd is dvd ripping made *simple* with an easy interface to mencoder with sensible default settings that give good results. For those times you just want to rip a movie and not consider thousands of variables.
51.2 KB  
Games  -  2048 BEYOND 1.1
Join the numbers and get to the 1024, 2048, 4096 and 8192 tiles!!! With Facebook Leaderboard Ranking to compete with your friends. With Game Center Leaderboard Ranking to compete globally. Swipe Left, Right, Up, Down to move...
26.4 MB  
Games  -  4096 - The most addictive number game 1.0
4096 - Most addictive number game - Swipe to move tiles - Merge 2 tile with same number - Get to 4096 with best score - Shake to restart game Requirements: iOS 7.0 or later. Compatible with iPhone, iPad, and iPod touch. This app is...
921.6 KB  
Music  -  Balsam Range 5.1
Official band app for Balsam Range fans. Includes easy video, photo, and discography access, along with a fan wall to communicate with other Balsam Range fans! Requirements: iOS 5.1 or later. Compatible with iPhone, iPad, and iPod touch. This...
17.4 MB  
Education  -  Central Diary 3.5
The Central Diary smartphone application, brought to you by the Central Institute of Technology provides students with the ultimate way to interact with student life. The application gives you the ability to build your student diary around your...
24.1 MB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
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  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
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  
Libraries  -  App::SimpleScan::Substitution::Line 2.02
App::SimpleScan::Substitution::Line is a line with optional fixed variable values. SYNOPSIS my $line = App::SimpleScan::Substitution::Line->new(" this "); # Use only this value when substituting " ". $line->fix(substituite =>...
54.27 KB