FIX: commLayer race condition.  4 bugs were fixed with this and 3 prior commits: MessageBuffers append may succeed and still produce a full buffer - API may need to be changed; threads need to join at destructor in commlayer; termination signal in local rank needs to be pushed onto recvInProgress instead recvQueue - processing recvInProgress decrements the number of remaining senders, else there will be 1 sender left and deadlock; CallbackThread was using recvQueue.waitAndPop - recvQueue may be empty thus blocking, and thus later cond_var notify could not be reached to notify a blocked flush call.
FIX: commLayer race condition.  4 bugs were fixed with this and 3 prior commits: MessageBuffers append may succeed and still produce a full buffer - API may need to be changed; threads need to join at destructor in commlayer; termination signal in local rank needs to be pushed onto recvInProgress instead recvQueue - processing recvInProgress decrements the number of remaining senders, else there will be 1 sender left and deadlock; CallbackThread was using recvQueue.waitAndPop - recvQueue may be empty thus blocking, and thus later cond_var notify could not be reached to notify a blocked flush call.

ParBLiSS/kmerind,ParBLiSS/kmerind,ParBLiSS/kmerind,ParBLiSS/kmerind,ParBLiSS/kmerind,ParBLiSS/kmerind