Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
New function: gras_msg_handleall to deal with all messages arriving within a given...
[simgrid.git] / include / gras / messages.h
index c513e26..4701b71 100644 (file)
@@ -130,6 +130,7 @@ gras_socket_t gras_msg_cb_ctx_from(gras_msg_cb_ctx_t ctx);
                     gras_msgtype_t  msgt_want,
                     gras_socket_t  *expeditor,
                     void           *payload);
+  void gras_msg_handleall(double period);   
   void gras_msg_handle(double timeOut);
 
 /** @} */
@@ -165,6 +166,13 @@ void gras_msg_rpccall(gras_socket_t server,
                      double timeOut,
                      gras_msgtype_t msgtype,
                      void *request, void *answer);
+gras_msg_cb_ctx_t
+gras_msg_rpc_async_call(gras_socket_t server,
+                       double timeOut,
+                       gras_msgtype_t msgtype,
+                       void *request);
+void gras_msg_rpc_async_wait(gras_msg_cb_ctx_t ctx,
+                            void *answer);
 
 /* server side */
 void gras_msg_rpcreturn(double timeOut, gras_msg_cb_ctx_t ctx,void *answer);