Packages / openSUSE Leap 15.6 / Development/Libraries/Perl / perl-Parallel-ForkManager

Package: perl-Parallel-ForkManager (2.02-bp156.2.1)

Simple Parallel Processing Fork Manager

This module is intended for use in operations that can be done in parallel where the number of processes to be forked off should be limited. Typical use is a downloader which will be retrieving hundreds/thousands of files. The code for a downloader would look something like this: use LWP::Simple; use Parallel::ForkManager; ... my @links=( ["http://www.foo.bar/rulez.data","rulez_data.txt"], ["http://new.host/more_data.doc","more_data.doc"], ... ); ... my $pm = Parallel::ForkManager->new(30); LINKS: foreach my $linkarray (@links) { $pm->start and next LINKS; # do the fork my ($link, $fn) = @$linkarray; warn "Cannot get $fn from $link" if getstore($link, $fn) != RC_OK; $pm->finish; # do the exit in the child process } $pm->wait_all_children; First you need to instantiate the ForkManager with the "new" constructor. You must specify the maximum number of processes to be created. If you specify 0, then NO fork will be done; this is good for debugging purposes. Next, use $pm->start to do the fork. $pm returns 0 for the child process, and child pid for the parent process (see also perlfunc(1p)/fork()). The "and next" skips the internal loop in the parent process. NOTE: $pm->start dies if the fork fails. $pm->finish terminates the child process (assuming a fork was done in the "start"). NOTE: You cannot use $pm->start if you are already in the child process. If you want to manage another set of subprocesses in the child process, you must instantiate another Parallel::ForkManager object!

Package information

Homepage
[https://metacpan.org/release/Parallel-ForkManager]
License
Artistic-1.0 OR GPL-1.0-or-later
Mantenedor do pacote downstream
Desconhecido: não informado na fonte indexada
Pacote fonte
[perl-Parallel-ForkManager]
Software project
[perl-parallel-forkmanager]

Versions and downloads for perl-Parallel-ForkManager

Version / releaseArchitecture / repositoryPackage sizeInstalled sizeFilesPublisher repository artifact
2.02-bp156.2.1leap-15.6 / ossnoarchopenSUSE Leap 15.6 · OSS · multi-architecture42 KiB87 KiBlist of filesperl-Parallel-ForkManager-2.02-bp156.2.1.noarch.rpm
About these downloads

Cada linha é metadado do índice de pacotes para uma versão, arquitetura, suite e repositório. Nomes, URLs e tamanhos vêm da fonte; um link é um ponto de obtenção mutável, não uma redistribuição da OpenFactory.

Dependencies and recommendations for perl-Parallel-ForkManager

  • dep: perl(:MODULE_COMPAT_5.26.1)

    Package not available

  • dep: perl(Moo)

    Package not available

  • dep: perl(Moo::Role)

    Package not available

Caminhos de arquivo do pacote (17)

Paths come from the repository package-file index for the observed builds. They describe archive/package associations, not every file that will exist on a running system after maintainer scripts, alternatives, generated state, diversions, or installation choices.

  • /usr/lib/perl5/vendor_perl/5.26.1/Parallel
  • /usr/lib/perl5/vendor_perl/5.26.1/Parallel/ForkManager
  • /usr/lib/perl5/vendor_perl/5.26.1/Parallel/ForkManager/Child.pm
  • /usr/lib/perl5/vendor_perl/5.26.1/Parallel/ForkManager.pm
  • /usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
  • /usr/share/doc/packages/perl-Parallel-ForkManager
  • /usr/share/doc/packages/perl-Parallel-ForkManager/Changes
  • /usr/share/doc/packages/perl-Parallel-ForkManager/CODE_OF_CONDUCT.md
  • /usr/share/doc/packages/perl-Parallel-ForkManager/CONTRIBUTORS
  • /usr/share/doc/packages/perl-Parallel-ForkManager/doap.xml
  • /usr/share/doc/packages/perl-Parallel-ForkManager/examples
  • /usr/share/doc/packages/perl-Parallel-ForkManager/examples/callback_data.pl
  • /usr/share/doc/packages/perl-Parallel-ForkManager/examples/callback.pl
  • /usr/share/doc/packages/perl-Parallel-ForkManager/examples/parallel_get.pl
  • /usr/share/doc/packages/perl-Parallel-ForkManager/README.mkdn
  • /usr/share/man/man3/Parallel::ForkManager.3pm.gz
  • /usr/share/man/man3/Parallel::ForkManager::Child.3pm.gz

Field source: openSUSE Leap 15.6 OSS

Vulnerabilidades conhecidas

Nenhum aviso correspondente nas fontes acompanhadas.

Última sincronização:

[Catálogo de CVE]

Checksums

Repository signatures authenticate metadata. Artifact hashing is recorded separately. Neither establishes package safety.

2.02-bp156.2.1 / noarchObservado Sep 1, 2026sha512 f85c2766ba4d…7df3a6d1Resumo da fonte

Metadata observed; artifact bytes were not independently fetched or hashed by this catalog import. The digest below is source-reported.

Resumo da fonte (sha512): f85c2766ba4da8faa453acdefd3a37a6e31182b14aeb00b5af608a28fa7b59b0871b08eaae825d29b0e2c9002e9c834af1411ac63c95da8682fab76c7df3a6d1

Field source: openSUSE Leap 15.6 OSS

Fontes

  • Authoritative source; repository metadata signature verified

    Evidência de assinatura

    leap-15-6-oss-multiarch:ca2653101b9afba6656aea529109ba0c0f1ca1a92aa8614e7c887fda5264c230

    Repository-signature verification record
    Signed-object SHA-256
    ca2653101b9afba6656aea529109ba0c0f1ca1a92aa8614e7c887fda5264c230
    Signer fingerprint
    AD485664E901B867051AB15F35A2F86E29B700A4
    Keyring revision
    opensuse-project-signing-key.asc
    SHA-256 b5745739ebfb95b25b8e810f9bcb847fe750ccda598bd85f02f0e974599a6d7e
    Tool and policy
    gpgv (GnuPG) 2.4.9
    openfactory-software-catalog-signature-v1
    Verification time
    Sep 1, 2026
    Repository metadata hash linkage
    Result
    Recorded as verified; digest details unavailable

Usar este pacote

O OpenFactory pode iniciar este sistema operacional em uma máquina virtual do navegador, ou começar uma construção que inclui o nome nativo do pacote deste registro.