From: alegrand Date: Mon, 25 Jul 2005 19:41:06 +0000 (+0000) Subject: cosmetics and helped me a lot for debuging... :) X-Git-Tag: v3.3~3784 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/592a283fee7cd35c5577b8702afc139624e63814?hp=443eba47c4dc02d14a0e5ec19cf491de16448706 cosmetics and helped me a lot for debuging... :) git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1572 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/examples/msg/msg_test.c b/examples/msg/msg_test.c index c4ea92b8b3..6970cb447f 100644 --- a/examples/msg/msg_test.c +++ b/examples/msg/msg_test.c @@ -93,6 +93,9 @@ int master(int argc, char *argv[]) INFO2("Sending \"%s\" to \"%s\"", todo[i]->name, slaves[i % slaves_count]->name); + if(MSG_host_self()==slaves[i % slaves_count]) { + INFO0("Hey ! It's me ! :)"); + } MSG_task_put(todo[i], slaves[i % slaves_count], PORT_22); INFO0("Send completed");