Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
mv some app examples in app- folders
[simgrid.git] / examples / msg / chainsend / common.c
diff --git a/examples/msg/chainsend/common.c b/examples/msg/chainsend/common.c
deleted file mode 100644 (file)
index 928c6e3..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-#include "common.h"
-
-int process_pending_connections(xbt_dynar_t q)
-{
-  unsigned int iter;
-  int status;
-  int empty = 0;
-  msg_comm_t comm;
-
-  xbt_dynar_foreach(q, iter, comm) {
-    empty = 1;
-    if (MSG_comm_test(comm)) {
-      status = MSG_comm_get_status(comm);
-      MSG_comm_destroy(comm);
-      xbt_assert(status == MSG_OK, "process_pending_connections() failed");
-      xbt_dynar_cursor_rm(q, &iter);
-      empty = 0;
-    }
-  }
-  return empty;
-}