From: Arnaud Giersch Date: Fri, 11 Feb 2011 07:00:30 +0000 (+0100) Subject: Improve descriptions of looping processes. X-Git-Tag: v0.1~137 X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/commitdiff_plain/f21539e9a5f0ab1eb4e3daf9293b01bfd5b317a3?hp=cd83ecda6b4c36b2face63122fe1e09d6ffa2fe0 Improve descriptions of looping processes. --- diff --git a/NOTES b/NOTES index 079372b..b57d492 100644 --- a/NOTES +++ b/NOTES @@ -35,6 +35,7 @@ thread, and a load-balancer thread. | if we received some real load, get it (data messages) | if there is some real load to send, send it | if we own some load, simulate some computing on it + | sleep a bit if we are looping too fast +- send CLOSE on data for all neighbors wait for CLOSE on data from all neighbors @@ -48,6 +49,7 @@ thread, and a load-balancer thread. Loop | call load-balancing algorithm | send ctrl messages + | sleep (min_lb_iter_duration) | receive ctrl messages +- send CLOSE on ctrl for all neighbors