summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2023-08-27 22:06:44 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2023-08-27 22:06:44 +0100
commit65bb0e0f66a2218b59c9537436f1f75166994651 (patch)
tree23099f4e3e791554352154a66f56dc893c24f221 /Makefile
parent2d11304ab4726d3904344d908c93c84a76391707 (diff)
downloadabelian-sandpile-65bb0e0f66a2218b59c9537436f1f75166994651.tar.gz
abelian-sandpile-65bb0e0f66a2218b59c9537436f1f75166994651.tar.bz2
abelian-sandpile-65bb0e0f66a2218b59c9537436f1f75166994651.zip
(main)+kill threads when avalanche has completed
After the so-called "avalanche", where the fractal has finished forming as there are no more candidates for toppling, we no longer need the threads to be working. As an intensive operation, it makes no sense to continue processing when we are sure there is no further dynamic behaviour possible. Using a tick based solution, every DELTA ticks we check if the avalanche is completed. If so, we clean up all the threads AND ensure that we no longer need to be checking for avalanches.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions