X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/80a1fe1a200a4309c36598571b1f4ccb76a8788f..d67fee4c5988698b045480ac86a67b7a5a21a8b2:/NOTES?ds=sidebyside 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