Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Adapt to API change (I was too quick, I guess)
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 29 Jun 2005 22:05:22 +0000 (22:05 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 29 Jun 2005 22:05:22 +0000 (22:05 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1489 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/gras/Transport/sg_transport.c

index c261a05..1ccc83d 100644 (file)
@@ -48,8 +48,8 @@ gras_trp_select(double timeout,
         MSG_host_get_name(MSG_host_self()),
         timeout);
 
         MSG_host_get_name(MSG_host_self()),
         timeout);
 
-  r_pid = MSG_task_select_from((m_channel_t) pd->chan, timeout);
-
+  TRY(MSG_channel_select_from((m_channel_t) pd->chan, timeout, &r_pid));
+  
   if (r_pid < 0) {
     DEBUG0("TIMEOUT");
     return timeout_error;
   if (r_pid < 0) {
     DEBUG0("TIMEOUT");
     return timeout_error;