AMPI #1618: fix broken logic for resuming threads suspended in Waitany31/2731/2
commit551966f10031c2256fb878dc3f34cac2656e2bd1
authorSam White <white67@illinois.edu>
Mon, 26 Jun 2017 16:43:10 +0000 (26 11:43 -0500)
committerSam White <white67@illinois.edu>
Mon, 26 Jun 2017 16:45:36 +0000 (26 11:45 -0500)
treec20d270725dad832aa649e675722e4abd1c186ef
parent8b8bb11eed0cc7c9ac396c7685191f6f15ee69c7
AMPI #1618: fix broken logic for resuming threads suspended in Waitany

ampiParent's numBlockedReqs is a counter of the number of requests that
need to be satisfied before we resume the thread from inside a blocking
operation. As such, it should never be negative.

Change-Id: Id63ce135f4262e579d709de4ab5fe6717a5dd598
src/libs/ck-libs/ampi/ampi.C