Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
two more clobbered variables that prevent me to compile. Don't ask
authorFrederic Suter <suter@youpi.(none)>
Thu, 1 Dec 2011 08:13:01 +0000 (09:13 +0100)
committerFrederic Suter <suter@youpi.(none)>
Thu, 1 Dec 2011 08:13:01 +0000 (09:13 +0100)
Midjy this time.

examples/gras/all2all/all2all.c
src/simix/smx_network.c

index db1504b..8e3b0f4 100644 (file)
@@ -82,7 +82,7 @@ int sender(int argc, char *argv[])
   xbt_peer_t h;                 /* iterator */
   int connected = 0;
 
   xbt_peer_t h;                 /* iterator */
   int connected = 0;
 
-  gras_socket_t peer = NULL;    /* socket to node */
+  volatile gras_socket_t peer = NULL;    /* socket to node */
 
 
   /* xbt_dynar for peers */
 
 
   /* xbt_dynar for peers */
index d429026..6eff1fa 100644 (file)
@@ -554,7 +554,7 @@ XBT_INLINE void SIMIX_comm_start(smx_action_t action)
  */
 void SIMIX_comm_finish(smx_action_t action)
 {
  */
 void SIMIX_comm_finish(smx_action_t action)
 {
-  unsigned int destroy_count = 0;
+  volatile unsigned int destroy_count = 0;
   smx_req_t req;
 
   while ((req = xbt_fifo_shift(action->request_list))) {
   smx_req_t req;
 
   while ((req = xbt_fifo_shift(action->request_list))) {