TODO: runpath is not thread / multi-call safe. If called multiple times,
chaos can ensue. Need to add a check so "runpath" fails if another
is already in progress. Or append to the end of the existing runpath
ISSUES:
global variables: next_step (number of path step)
mpath (list of steps)
...
these are an issue if say "t1food" is called while running "t1heal", since
now we're not at the known start location
QUESTION:
is tt++ threaded? or can I treat #list add as an atomic
operation that won't be interuppted?
TODO: runpath is not thread / multi-call safe. If called multiple times, chaos can ensue. Need to add a check so "runpath" fails if another is already in progress. Or append to the end of the existing runpath ISSUES: global variables: next_step (number of path step) mpath (list of steps) ... these are an issue if say "t1food" is called while running "t1heal", since now we're not at the known start location QUESTION: is tt++ threaded? or can I treat #list add as an atomic
operation that won't be interuppted?