pieceIndexRange pieceCount Parameters
Some programs allow the their work to be split up. This is useful, for example, when multiple computer processors are available.
- pieceIndexRange tells which pieces to work on, counting from 0.
- pieceCount tells how many pieces in to which split the work.
For example, to tell a program to split the work into two pieces and work on the first part:
Split the work into two pieces and work on the second part:
Split the work into 10 parts and work on parts 0 through 2
Split the work into 10 parts and work on parts 0,1,2, 5, and 9