all: new polling architecture
authorSebastian <git@sraa.de>
Mon, 28 Jul 2014 15:33:49 +0000 (15:33 +0000)
committerSebastian <git@sraa.de>
Mon, 28 Jul 2014 15:33:49 +0000 (15:33 +0000)
commit33ecc46f0c30a200a1f45de78146e9be7cca659b
tree9d2e64e7e5f620fdf7cfec3bcd745dd17d112a3e
parentef934b2414b85ebac7fac186cbc530b4f9a82e9c
all: new polling architecture

Replaces states[][] with pollflag+iteration.
The host communicates to the target when it is done reading shared
memory. No need for delay() on the target anymore. Only core 0
writes the iteration counter, reducing traffic to shared memory.
Writing populations is still slow. But no data loss anymore.
lb/esrc/lb_2d.c
lb/hsrc/main.c
lb/shared.h