Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
New trace replayer, as fast as hell, and as boring as hell, too
[simgrid.git] / include / simix / simix.h
index d4237b2..f2f2994 100644 (file)
@@ -66,12 +66,6 @@ XBT_PUBLIC(smx_process_t) SIMIX_process_self(void);
 XBT_PUBLIC(const char*) SIMIX_process_self_get_name(void);
 XBT_PUBLIC(void) SIMIX_process_self_set_data(void *data);
 XBT_PUBLIC(void*) SIMIX_process_self_get_data(void);
-XBT_PUBLIC(smx_process_t) SIMIX_process_create(const char *name,
-                                               xbt_main_func_t code,
-                                                                      void *data,
-                                                                      const char *hostname,
-                                                                      int argc, char **argv,
-                                                                      xbt_dict_t properties);
 XBT_PUBLIC(smx_context_t) SIMIX_process_get_context(smx_process_t);
 XBT_PUBLIC(void) SIMIX_process_set_context(smx_process_t p,smx_context_t c);
 
@@ -236,5 +230,9 @@ XBT_PUBLIC(void) SIMIX_req_sem_acquire_timeout(smx_sem_t sem,
 XBT_PUBLIC(unsigned int) SIMIX_req_sem_acquire_any(xbt_dynar_t sems);
 XBT_PUBLIC(int) SIMIX_req_sem_get_capacity(smx_sem_t sem);
 
+/* functions to let the state machine context factory mess with simix flow */
+XBT_PUBLIC(void*) SIMIX_request_get_result(int id);
+XBT_PUBLIC(int) SIMIX_request_last_id(void);
+
 SG_END_DECL()
 #endif                          /* _SIMIX_SIMIX_H */