Managing multiple threads with `local variables`

BlitzMax Forums/BlitzMax Programming/Managing multiple threads with `local variables`

I think he wants variables static to the function, so each time a specific thread calls the function, it remembers its variables. but, if a different thread calls the function, it gets the values of the last time it called the function...

The only way I can think of doing it is have a set of globals for each thread.