Revision: 2274
Author:
regra...@gmail.com
Date: Thu Feb 27 15:20:01 2014 UTC
Log: Fixes Issue #61 - Multiple Progress Threads can hang with RMDA
comp_poll
Thanks to S. Sur and C. Archer for the bug report and patch.
http://code.google.com/p/portals4/source/detail?r=2274
Modified:
/trunk/src/ib/ptl_recv.c
=======================================
--- /trunk/src/ib/ptl_recv.c Fri Nov 15 16:59:59 2013 UTC
+++ /trunk/src/ib/ptl_recv.c Thu Feb 27 15:20:01 2014 UTC
@@ -39,13 +39,13 @@
* @return the number of work completions found if no error.
* @return a negative number if an error occured.
*/
-int rep_poll = 0;
static int comp_poll(ni_t *ni, int num_wc, struct ibv_wc wc_list[],
buf_t *buf_list[])
{
int ret = 0;
int i;
buf_t *buf;
+ int rep_poll = 0;
#if WITH_TRANSPORT_IB && !WITH_TRANSPORT_SHMEM && !IS_PPE
while (ni->catcher_stop == 0 && ret == 0) {