Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
authorMartin Quinson <martin.quinson@loria.fr>
Fri, 22 Apr 2016 18:55:39 +0000 (20:55 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Fri, 22 Apr 2016 18:55:39 +0000 (20:55 +0200)
1  2 
src/simix/smx_network.cpp

@@@ -394,10 -435,10 +394,10 @@@ smx_synchro_t SIMIX_comm_irecv(smx_proc
       * ourself so that the other side also gets a chance of choosing if it wants to match with us.
       *
       * If it is not found then push our communication into the rendez-vous point */
 -    other_synchro = SIMIX_deque_get_filtered(mbox->comm_queue, SIMIX_COMM_SEND, match_fun, data, this_synchro);
 +    other_synchro = _extract_matching_comm(mbox->comm_queue, SIMIX_COMM_SEND, match_fun, data, this_synchro);
  
      if (!other_synchro) {
-       XBT_DEBUG("Receive pushed first %lu", mbox->comm_queue->size());
+       XBT_DEBUG("Receive pushed first %zu", mbox->comm_queue->size());
        other_synchro = this_synchro;
        SIMIX_mbox_push(mbox, this_synchro);
      } else {