Running 2 operations at once

In essence what the above program is doing is this only with two tasks.