[WIP] Comm tasks are special
Don't handle send/recv tasks in the regular queue. Instead, pick out the MPI_Requests and keep them in a separate list and call either MPI_Testany or MPI_Testsome on it to get completed communication tasks before hitting the regular list of tasks.
Edited by Pedro Gonnet