From: Christian Heinrich Date: Wed, 17 Jan 2018 20:03:38 +0000 (+0100) Subject: [SMPI/CHANGELOG] Deprecate smpi_process_index() X-Git-Tag: v3.19~312^2~19 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/95c32964e5c576ccf90242c5ede43f2a4a016e85?hp=1ddac9793d73ca354e64c4586de9fb8cd6c0478b [SMPI/CHANGELOG] Deprecate smpi_process_index() --- diff --git a/ChangeLog b/ChangeLog index aaf3f99d84..40a792ced9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -17,6 +17,8 @@ SimGrid (3.19) NOT RELEASED YET (target: March 20 2018, 16:15:27 UTC) This also means that the trace files now contain actors called rank-. These are NOT the real ranks, because tracing several communicators right now is not supported. + - Because of this, smpi_process_index() has now been deprecated and will + be removed in 3.21 Fixed bugs: - #245: migrating an actor does not migrate its execution diff --git a/include/smpi/smpi.h b/include/smpi/smpi.h index cd2ee94e40..f5c2f86495 100644 --- a/include/smpi/smpi.h +++ b/include/smpi/smpi.h @@ -942,7 +942,7 @@ XBT_PUBLIC(void*) smpi_shared_set_call(const char* func, const char* input, void /* Fortran specific stuff */ XBT_PUBLIC(int) smpi_main(const char* program, int argc, char *argv[]); -XBT_PUBLIC(int) smpi_process_index(); +XBT_ATTRIB_DEPRECATED_v321("Use Actor::self()->getPid(): v3.21 will turn this warning into an error.") XBT_PUBLIC(int) smpi_process_index(); XBT_PUBLIC(void) smpi_process_init(int *argc, char ***argv); /* Trace replay specific stuff */