A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Mark the smpi_exit call as noreturn, and really kill the process when exit is called
[simgrid.git]
/
include
/
smpi
/
smpi_helpers_internal.h
diff --git
a/include/smpi/smpi_helpers_internal.h
b/include/smpi/smpi_helpers_internal.h
index
59aa0df
..
a55d128
100644
(file)
--- a/
include/smpi/smpi_helpers_internal.h
+++ b/
include/smpi/smpi_helpers_internal.h
@@
-1,4
+1,4
@@
-/* Copyright (c) 2018-20
19
. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2018-20
21
. The SimGrid Team. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
@@
-35,7
+35,10
@@
int smpi_getopt_long(int argc, char* const* argv, const char* options, const str
int smpi_getopt(int argc, char* const* argv, const char* options);
void* smpi_shared_malloc_intercept(size_t size, const char* file, int line);
int smpi_getopt(int argc, char* const* argv, const char* options);
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_shared_free(void* data);
+void __attribute__((noreturn)) smpi_exit(int status);
#ifdef __cplusplus
} // extern "C"
#endif
#ifdef __cplusplus
} // extern "C"
#endif