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

Package Bio.MultiProc

Code to schedule and run multiple processes.
Submodules
  • copen: This implements a set of classes that wraps a file object interface around code that executes in another process.
  • Scheduler: Simple scheduling of threads to be run.
  • Task: Task.py

Function Summary
  run(nprocs, fn, fn_args, fn_keywds, sleep, always_use_scheduler)
run(nprocs, fn[, fn_args][, fn_keywds][, sleep])

Function Details

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

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.

Generated by Epydoc 2.1 on Thu Mar 31 20:15:50 2005 http://epydoc.sf.net