Foreach parallel adaptor for the revoIPC package