Skip to main content

Module parallel

Module parallel 

Source
Expand description

music21’s common.parallel, as far as it is not about Python objects.

Functions§

cpus
cpus_for this machine, as far as the standard library can tell how many processors it has.
cpus_for
How many processes music21 runs at once on a machine with this many processors: one fewer than there are, leaving one free, from three up.
update_positions
The positions an update reports on once done tasks are done and it reports every window of them: the last window positions, none before the first.