A framework for parallel computation