From 7d7ee82a5aa2e12ab805da0f639d2f636b7f0b9c Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Wed, 17 Oct 2012 14:40:46 +0200 Subject: [PATCH 1/1] Function MSG_get_host_number() is not deprecated anymore. Acknowledge commit b00e4794c073855ab40697e9ec648c6a67f013e9 (Doesn't see why MSG_get_host_number should be deprecated.) --- ChangeLog | 1 + src/msg/msg_host.c | 3 +++ 2 files changed, 4 insertions(+) diff --git a/ChangeLog b/ChangeLog index c4bb06a31b..9f0dfe4bd8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -18,6 +18,7 @@ SimGrid (3.8) NOT RELEASED; urgency=low * Use the "msg_" prefix for all datatypes (instead of m_, msg_ and MSG_), please stop using the old ones, they are DEPRECATED. * Deprecate MSG_clean(). No need to call it anymore. + * Function MSG_get_host_number() is not deprecated anymore. Documentation: * Split the doc into a user guide and a reference guide. diff --git a/src/msg/msg_host.c b/src/msg/msg_host.c index 73eb35a95e..a503903cb5 100644 --- a/src/msg/msg_host.c +++ b/src/msg/msg_host.c @@ -131,6 +131,9 @@ void __MSG_host_destroy(msg_host_t host) { free(host); } +/** \ingroup m_host_management + * \brief Return the current number MSG hosts. + */ int MSG_get_host_number(void) { return xbt_lib_length(host_lib); -- 2.20.1