simple/rdm_cntr_pingpong: Fix race condition

If a message arrived before fi_cntr_read is called, then the threshold argument for fi_cntr_wait
would not be correct. Replace it with a recv_outs variable that tracks the # of outstanding recvs.

Signed-off-by: Arun C Ilango <arun.ilango@intel.com>
Add missing bind-to-sendCQ.
 - Without this, provider may not progress the tx operations.
 - Even though user does not need TX completions for inject operations
   it must bind to a CQ for checking error events.

Signed-off-by: Jithin Jose <jithin.jose@intel.com>
Merge pull request #97 from jithinjosepkl/pr-examples

Add missing bind-to-sendCQ.
Merge pull request #99 from a-ilango/dev

simple/rdm_cntr_pingpong: Fix race condition
Added a tagged RDM example that demonstrates fi_tsearch. Signed-off-by: Shantonu Hossain shantonu.hossain@intel.com