Extensions for parallel programming