X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/48de9544b7eac2f9d40ea34a42c1d1a3d7ccbbfe..7fbb0fa0af87b577cfe754a59018014366d449c4:/NOTES?ds=inline

diff --git a/NOTES b/NOTES
index 53bce11..71e2729 100644
--- a/NOTES
+++ b/NOTES
@@ -12,11 +12,11 @@ messages, and data for load transfers.
 Process model
 =============
 
-Each process is made of 3 threads: a receiver thread, a computing
-thread, and a load-balancer thread.
+Each process is made of 3 threads: a receiving thread, a computing
+thread, and a load-balancing thread.
 
-* Receiver thread
-  ---------------
+* Receiving thread
+  ----------------
 
     Loop
     | wait for a message to come, either on data channel, or on ctrl channel
@@ -47,10 +47,10 @@ thread, and a load-balancer thread.
   ---------------------
 
     Loop
+    | receive ctrl messages
     | call load-balancing algorithm
     | send ctrl messages
     | sleep (min_lb_iter_duration)
-    | receive ctrl messages
     +-
     send CLOSE on ctrl for all neighbors
     wait for CLOSE on ctrl from all neighbors