| Creates threads and executes commandon each. The number 
  of threads is determined bythreadgen. Ifthreadgenis an integer, then the specified number of 
  threads is created, and each thread has an integer label, from 0 throughthreadgen- 1. Ifthreadgenis a sequence, then
  for each element in the sequence, a thread is created, labelled with that
  element. Ifthreadgenis a function, then it is evaluated, 
  and is expected to yield an integer or sequence, which is then handled as
  already described. Ifthreadgenis a cluster specification, 
  then the command is executed on each specified host; the thread label 
  identifies the host, (whose type isosh.cluster.Host). Ifmerge_keyis specified, then the inputs of each thread are 
  expected to be ordered by themerge_key. The sequences from 
  the threads are then merged into a single sequence using themerge_key. 
   |