From: mquinson Date: Wed, 24 Nov 2010 16:18:33 +0000 (+0000) Subject: note in the comments the truth about a temptating (but doomed to failure) change X-Git-Tag: v3_5~193 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/2f0bdd470ce4ef7b8f13338882a745a451c57cf2?hp=655afa10c8acf337cde1196c8a9505d2f91b3702 note in the comments the truth about a temptating (but doomed to failure) change git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8637 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/gras/Msg/gras_msg_listener.c b/src/gras/Msg/gras_msg_listener.c index ef7057b055..284bf48bda 100644 --- a/src/gras/Msg/gras_msg_listener.c +++ b/src/gras/Msg/gras_msg_listener.c @@ -49,6 +49,8 @@ static void listener_function(void *p) while (1) { msg = gras_msg_recv_any(); if (msg->type != msg_wakeup_listener_t) { + /* Cannot display who sent this since in SG, gras_socket_peer_* wont work: + I'm not the user process but I'm just the listener. Too bad */ VERB1("Got a '%s' message. Queue it for handling by main thread", gras_msgtype_get_name(msg->type)); xbt_queue_push(me->incomming_messages, msg);