Package Bio :: Package MultiProc
[hide private]
[frames] | no frames]

Package MultiProc

source code

Code to schedule and run multiple processes.

Submodules [hide private]

Functions [hide private]
 
run(nprocs, fn, fn_args=(), fn_keywds={}, sleep=0.1, always_use_scheduler=0)
run(nprocs, fn[, fn_args][, fn_keywds][, sleep])
source code
Variables [hide private]
  __warningregistry__ = {('Bio.MultiProc is deprecated. If you w...
Function Details [hide private]

run(nprocs, fn, fn_args=(), fn_keywds={}, sleep=0.1, always_use_scheduler=0)

source code 

run(nprocs, fn[, fn_args][, fn_keywds][, sleep])

Run nprocs copies of fn concurrently. The first two parameters of fn should be a process number (0 to nprocs-1) and the total number of processes. Additional arguments and keywords can be passed in the fn_args and fn_keywds parameters. Sleep is the amount of time the scheduler should wait between process polls.


Variables Details [hide private]

__warningregistry__

Value:
{('Bio.MultiProc is deprecated. If you want to use this code, please l\
et the Biopython developers know by sending an email to biopython-dev@\
biopython.org to avoid permanent removal of Bio.MultiProc.',
  <type 'exceptions.DeprecationWarning'>,
  10): 1}