+ smx_req_t req = SIMIX_req_mine();
+
+ req->call = REQ_COMM_WAIT;
+ req->comm_wait.comm = comm;
+ req->comm_wait.timeout = timeout;
+
+ SIMIX_request_push();
+}
+
+#ifdef HAVE_TRACING
+/**
+ * \brief Set the category of an action.
+ *
+ * This functions changes the category only. It calls a surf function.
+ * \param execution The execution action
+ * \param category The tracing category
+ */
+void SIMIX_req_set_category(smx_action_t action, const char *category)
+{
+ if (category == NULL) {
+ return;
+ }
+
+ smx_req_t req = SIMIX_req_mine();