Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
SMPI: Kill the global list of senders and receivers
[simgrid.git] / src / smpi / smpi_receiver.c
index efb88dd..b81c997 100644 (file)
@@ -22,11 +22,9 @@ int smpi_receiver(int argc, char*argv[])
 
   self = SIMIX_process_self();
 
-  request_queue = smpi_global->pending_recv_request_queues[index];
+  request_queue = mydata->pending_recv_request_queue;
   message_queue = smpi_global->received_message_queues[index];
 
-  smpi_global->receiver_processes[index] = self;
-
   do {
 
     // FIXME: better algorithm, maybe some kind of balanced tree? or a heap?