Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Intercept exit() to avoid killing simulations too early, as the first process exits.
[simgrid.git] / include / smpi / smpi_helpers_internal.h
index 25a4f70..929d22e 100644 (file)
@@ -38,6 +38,7 @@ void* smpi_shared_malloc_intercept(size_t size, const char* file, int line);
 void* smpi_shared_calloc_intercept(size_t num_elm, size_t elem_size, const char* file, int line);
 void* smpi_shared_realloc_intercept(void* data, size_t size, const char* file, int line);
 void smpi_shared_free(void* data);
+void smpi_exit(int status);
 #ifdef __cplusplus
 } // extern "C"
 #endif