Parallel iterator built using the fork() system call

class sage.parallel.use_fork.p_iter_fork(ncpus, timeout=0, verbose=False, reset_interfaces=True)

A parallel iterator implemented using fork().

EXAMPLES:

sage: X = sage.parallel.use_fork.p_iter_fork(2,3, False); X
<sage.parallel.use_fork.p_iter_fork instance at ...>
sage: X.ncpus
2
sage: X.timeout
3.0
sage: X.verbose
False

Previous topic

Reference Parallel Primitives

Next topic

Parallel Iterator built using Python’s multiprocessing module

This Page